Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001756, allocations: 190.7 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222.1 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 65.73 kB / 0.6711 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2342, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003382/0.2377, allocations: 2.141 MB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.2409, allocations: 1.995 MB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.2411, allocations: 11.88 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.2419, allocations: 255.4 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007813/0.2427, allocations: 271.2 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009523/0.2437, allocations: 454.1 kB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.2443, allocations: 458.8 kB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2444, allocations: 36.39 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.2446, allocations: 167.4 kB / 0.7886 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.2449, allocations: 179.4 kB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.2449, allocations: 20 kB / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.2455, allocations: 443.2 kB / 0.7892 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2457, allocations: 103.6 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.932e-05/0.2458, allocations: 115.3 kB / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.2464, allocations: 0.5804 MB / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2465, allocations: 0 / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2465, allocations: 0 / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2465, allocations: 3.984 kB / 0.79 GB, free: 6.621 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008497/0.2473, allocations: 0.5956 MB / 0.7906 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2474, allocations: 8.031 kB / 0.7906 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.2474, allocations: 38.75 kB / 0.7906 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.2477, allocations: 48.61 kB / 0.7907 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.2482, allocations: 336.2 kB / 0.791 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.2482, allocations: 12.38 kB / 0.791 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.2482, allocations: 12.38 kB / 0.791 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.2486, allocations: 154.3 kB / 0.7911 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2486, allocations: 0 / 0.7911 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.2486, allocations: 4 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2486, allocations: 0 / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.249, allocations: 131.9 kB / 0.7913 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.2497, allocations: 0.4886 MB / 0.7918 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.2501, allocations: 130.5 kB / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.2503, allocations: 64.81 kB / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.2503, allocations: 192 / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2503, allocations: 34.5 kB / 0.792 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.2503, allocations: 0 / 0.792 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000697/0.251, allocations: 241.4 kB / 0.7922 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.2511, allocations: 55.34 kB / 0.7923 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.2514, allocations: 344.4 kB / 0.7926 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.2514, allocations: 29.7 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.2515, allocations: 144.1 kB / 0.7927 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.2516, allocations: 27.56 kB / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.2517, allocations: 57.62 kB / 0.7928 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2518, allocations: 338.8 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.2521, allocations: 112.8 kB / 0.7933 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.2523, allocations: 169.7 kB / 0.7934 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.2529, allocations: 274.6 kB / 0.7937 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2529, allocations: 0 / 0.7937 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006377/0.2535, allocations: 344.9 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2535, allocations: 10.81 kB / 0.794 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2536, allocations: 0 / 0.794 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2536, allocations: 4 kB / 0.794 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.2538, allocations: 51.91 kB / 0.7941 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2538, allocations: 8.156 kB / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.254, allocations: 23.83 kB / 0.7941 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.2541, allocations: 16 kB / 0.7941 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003111/0.2544, allocations: 208 kB / 0.7943 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002451/0.2546, allocations: 142.8 kB / 0.7945 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004415/0.2551, allocations: 241.9 kB / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.2551, allocations: 0 / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005682/0.2557, allocations: 296.9 kB / 0.795 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.2557, allocations: 4 kB / 0.795 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2557, allocations: 4 kB / 0.795 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.2557, allocations: 4 kB / 0.795 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.2559, allocations: 43.97 kB / 0.795 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2559, allocations: 3.938 kB / 0.795 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.2561, allocations: 27.98 kB / 0.7951 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.2561, allocations: 16 kB / 0.7951 GB, free: 1.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.2562, allocations: 188.2 kB / 0.7952 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2563, allocations: 19.72 kB / 0.7953 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/0.2568, allocations: 204.3 kB / 0.7955 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2568, allocations: 0 / 0.7955 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2568, allocations: 3.938 kB / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2568, allocations: 0 / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.2571, allocations: 281.4 kB / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2571, allocations: 0 / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2573, allocations: 27.92 kB / 0.7958 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2573, allocations: 4 kB / 0.7958 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2573, allocations: 0 / 0.7958 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2573, allocations: 0 / 0.7958 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2573, allocations: 3.938 kB / 0.7958 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.2578, allocations: 275.1 kB / 0.796 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.2579, allocations: 120.7 kB / 0.7961 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.258, allocations: 4 kB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2581, allocations: 7.984 kB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.2582, allocations: 7.938 kB / 0.7962 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2582, allocations: 7.984 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002267/0.2584, allocations: 239 kB / 0.7964 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2584, allocations: 3.938 kB / 0.7964 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005753/0.259, allocations: 148 kB / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.2601, allocations: 0.9153 MB / 0.7974 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007907/0.2609, allocations: 336.3 kB / 0.7978 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2609, allocations: 0 / 0.7978 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.2611, allocations: 67.95 kB / 0.7978 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.2616, allocations: 112.9 kB / 0.7979 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.2655, allocations: 3.058 MB / 0.8009 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.2659, allocations: 0.7678 MB / 0.8017 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002991/0.2662, allocations: 74.92 kB / 0.8017 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.2664, allocations: 99.33 kB / 0.8018 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2664, allocations: 0 / 0.8018 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.2882, allocations: 9.097 MB / 0.8107 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.2885, allocations: 216.1 kB / 0.8109 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.28, allocations: 4 kB / 0.8109 GB, free: 0.7305 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)