Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.0009374/0.0009374, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009634/0.0009637, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.236/1.236, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 10.66 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2168, allocations: 82.3 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7013/0.9182, allocations: 205.6 MB / 0.7881 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.9405, allocations: 18.85 MB / 0.8065 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.9424, allocations: 47.62 kB / 0.8065 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.9445, allocations: 0.587 MB / 0.8071 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004459/0.949, allocations: 1.503 MB / 0.8086 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.9531, allocations: 1.47 MB / 0.81 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003503/0.9566, allocations: 1.772 MB / 0.8117 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/0.9582, allocations: 0.9273 MB / 0.8127 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.9604, allocations: 0.9305 MB / 0.8136 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.9617, allocations: 0.5757 MB / 0.8141 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.9618, allocations: 36 kB / 0.8142 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.9644, allocations: 0.8034 MB / 0.8149 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.9648, allocations: 267.1 kB / 0.8152 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.9654, allocations: 265.1 kB / 0.8155 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.9681, allocations: 1.484 MB / 0.8169 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9681, allocations: 4 kB / 0.8169 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.544e-06/0.9681, allocations: 0 / 0.8169 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.525e-05/0.9682, allocations: 0 / 0.8169 GB, free: 0.7422 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002132/0.9703, allocations: 1.233 MB / 0.8181 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.9704, allocations: 8.031 kB / 0.8181 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.9706, allocations: 147.5 kB / 0.8183 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.9717, allocations: 226.4 kB / 0.8185 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.9731, allocations: 0.8187 MB / 0.8193 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.9732, allocations: 184.8 kB / 0.8195 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.9734, allocations: 92 kB / 0.8195 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.9748, allocations: 0.9207 MB / 0.8204 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.9748, allocations: 3.938 kB / 0.8204 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/0.9749, allocations: 39.94 kB / 0.8205 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.9749, allocations: 24 kB / 0.8205 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009598/0.9759, allocations: 0.6245 MB / 0.8211 GB, free: 12.27 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.9799, allocations: 4.435 MB / 0.8254 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.9803, allocations: 182.8 kB / 0.8256 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/0.9808, allocations: 0.6649 MB / 0.8263 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.9808, allocations: 38.52 kB / 0.8263 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.9808, allocations: 3.938 kB / 0.8263 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.000883/0.9817, allocations: 461.4 kB / 0.8267 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.9818, allocations: 51.41 kB / 0.8268 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.983, allocations: 1.098 MB / 0.8279 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.983, allocations: 33.7 kB / 0.8279 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.9834, allocations: 0.5079 MB / 0.8284 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.9834, allocations: 86.78 kB / 0.8285 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.9835, allocations: 12 kB / 0.8285 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.9836, allocations: 318 kB / 0.8288 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.9838, allocations: 128.7 kB / 0.8289 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.9841, allocations: 399.5 kB / 0.8293 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.9844, allocations: 179.8 kB / 0.8295 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.9844, allocations: 4 kB / 0.8295 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007454/0.9852, allocations: 0.5355 MB / 0.83 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9852, allocations: 12.16 kB / 0.83 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.9852, allocations: 11.95 kB / 0.83 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.9852, allocations: 8 kB / 0.83 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.9856, allocations: 91.84 kB / 0.8301 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.9856, allocations: 15.92 kB / 0.8301 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.9863, allocations: 130.6 kB / 0.8303 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.9863, allocations: 24 kB / 0.8303 GB, free: 2.156 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003271/0.9867, allocations: 299.9 kB / 0.8306 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.9868, allocations: 102.7 kB / 0.8307 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.9874, allocations: 410.6 kB / 0.8311 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.9874, allocations: 7.953 kB / 0.8311 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9874, allocations: 7.984 kB / 0.8311 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.9874, allocations: 0 / 0.8311 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.9893, allocations: 1.52 MB / 0.8326 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.9893, allocations: 4 kB / 0.8326 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.9895, allocations: 39.92 kB / 0.8326 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.9895, allocations: 8 kB / 0.8326 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.9895, allocations: 8 kB / 0.8326 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.9895, allocations: 15.92 kB / 0.8326 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9895, allocations: 7.953 kB / 0.8326 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.9902, allocations: 0.7844 MB / 0.8334 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.9905, allocations: 243.6 kB / 0.8336 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.9906, allocations: 15.95 kB / 0.8336 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.9911, allocations: 35.91 kB / 0.8337 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.9911, allocations: 27.88 kB / 0.8337 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.9911, allocations: 15.98 kB / 0.8337 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008657/0.992, allocations: 0.7664 MB / 0.8345 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.242e-06/0.992, allocations: 3.938 kB / 0.8345 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007942/0.9928, allocations: 283.4 kB / 0.8347 GB, free: 13.26 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.9945, allocations: 2.752 MB / 0.8374 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005146/0.995, allocations: 324.2 kB / 0.8377 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9951, allocations: 0 / 0.8377 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.9952, allocations: 148.3 kB / 0.8379 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.9972, allocations: 476.8 kB / 0.8383 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/1.006, allocations: 10.12 MB / 0.8482 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/1.006, allocations: 1.094 MB / 0.8493 GB, free: 13.81 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007327/1.007, allocations: 191.9 kB / 0.8495 GB, free: 13.62 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/1.007, allocations: 359.3 kB / 0.8498 GB, free: 13.27 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/1.007, allocations: 0 / 0.8498 GB, free: 13.27 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/2.112, allocations: 26.22 MB / 0.8754 GB, free: 212.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/2.113, allocations: 228.1 kB / 0.8756 GB, free: 212.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/4.376, allocations: 0 / 0.8756 GB, free: 212.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: