Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",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.0009886/0.0009887, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005956/0.005956, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.329/1.329, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.589/1.589, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005263/0.0005264, allocations: 22.58 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1911, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6937/0.8848, allocations: 298.6 MB / 1.08 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03513/0.92, allocations: 28.41 MB / 1.107 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.9229, allocations: 67.56 kB / 1.107 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.9269, allocations: 1.201 MB / 1.109 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007365/0.9343, allocations: 2.685 MB / 1.111 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005835/0.9401, allocations: 2.369 MB / 1.114 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006848/0.947, allocations: 5.601 MB / 1.119 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.9492, allocations: 1.426 MB / 1.12 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/0.9532, allocations: 1.879 MB / 1.122 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.9557, allocations: 1.201 MB / 1.123 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.9559, allocations: 64 kB / 1.123 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005741/0.9617, allocations: 3.265 MB / 1.127 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00058/0.9623, allocations: 482.2 kB / 1.127 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.9634, allocations: 0.9111 MB / 1.128 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005542/0.969, allocations: 4.217 MB / 1.132 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.969, allocations: 0 / 1.132 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.969, allocations: 0 / 1.132 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.045e-05/0.969, allocations: 0 / 1.132 GB, free: 11.34 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.003307/0.9723, allocations: 1.939 MB / 1.134 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.9724, allocations: 8.031 kB / 1.134 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/0.9726, allocations: 172.8 kB / 1.134 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.9762, allocations: 0.6298 MB / 1.135 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.9796, allocations: 1.889 MB / 1.137 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006929/0.9803, allocations: 222 kB / 1.137 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.9805, allocations: 112 kB / 1.137 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.9832, allocations: 1.41 MB / 1.138 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.9832, allocations: 0 / 1.138 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.9833, allocations: 48 kB / 1.138 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.9834, allocations: 42 kB / 1.138 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.986, allocations: 1.073 MB / 1.139 GB, free: 3.559 MB / 0.8419 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.00863/0.9946, allocations: 6.884 MB / 1.146 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.9961, allocations: 374.5 kB / 1.147 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.9965, allocations: 127.5 kB / 1.147 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.9968, allocations: 202.1 kB / 1.147 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.9969, allocations: 42.56 kB / 1.147 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005792/0.9975, allocations: 78.98 kB / 1.147 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 2.124e-06/0.9975, allocations: 0 / 1.147 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.001515/0.999, allocations: 0.5268 MB / 1.147 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.9991, allocations: 59.41 kB / 1.148 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/1.002, allocations: 1.734 MB / 1.149 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/1.002, allocations: 37.7 kB / 1.149 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006913/1.002, allocations: 0.8289 MB / 1.15 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/1.002, allocations: 78.94 kB / 1.15 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/1.003, allocations: 73.66 kB / 1.15 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.003, allocations: 326 kB / 1.151 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008402/1.004, allocations: 293.8 kB / 1.151 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/1.005, allocations: 0.6847 MB / 1.151 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/1.006, allocations: 0.8491 MB / 1.152 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.006, allocations: 0 / 1.152 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002328/1.008, allocations: 1.06 MB / 1.153 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002808/1.009, allocations: 452.4 kB / 1.154 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.009, allocations: 12 kB / 1.154 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.009, allocations: 19.94 kB / 1.154 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/1.01, allocations: 203.7 kB / 1.154 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.22e-05/1.01, allocations: 23.92 kB / 1.154 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.011, allocations: 180.4 kB / 1.154 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/1.011, allocations: 43.98 kB / 1.154 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/1.011, allocations: 4 kB / 1.154 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001681/1.013, allocations: 0.7961 MB / 1.155 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.013, allocations: 15.94 kB / 1.155 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.013, allocations: 16.88 kB / 1.155 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/1.014, allocations: 195.6 kB / 1.155 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/1.014, allocations: 27.92 kB / 1.155 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/1.015, allocations: 135.7 kB / 1.155 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/1.015, allocations: 36 kB / 1.155 GB, free: 2.207 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * 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.0007763/1.016, allocations: 0.5124 MB / 1.156 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/1.016, allocations: 162 kB / 1.156 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/1.017, allocations: 440.8 kB / 1.157 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.017, allocations: 4 kB / 1.157 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.017, allocations: 0 / 1.157 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.017, allocations: 0 / 1.157 GB, free: 1.078 MB / 0.8575 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 postOpt removeSimpleEquations (simulation): time 0.002427/1.019, allocations: 1.525 MB / 1.158 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.019, allocations: 0 / 1.158 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/1.02, allocations: 52.22 kB / 1.158 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.02, allocations: 0 / 1.158 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/1.02, allocations: 11.98 kB / 1.158 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.02, allocations: 7.938 kB / 1.158 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.02, allocations: 8 kB / 1.158 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/1.021, allocations: 0.562 MB / 1.159 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/1.021, allocations: 283 kB / 1.159 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/1.021, allocations: 8 kB / 1.159 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008823/1.022, allocations: 87.86 kB / 1.159 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/1.022, allocations: 15.92 kB / 1.159 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/1.022, allocations: 23.98 kB / 1.159 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001888/1.024, allocations: 1.209 MB / 1.16 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.024, allocations: 0 / 1.16 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001832/1.026, allocations: 0.6629 MB / 1.161 GB, free: 12.5 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * 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.001727/1.028, allocations: 1.31 MB / 1.162 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002358/1.03, allocations: 0.9498 MB / 1.163 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.03, allocations: 5.562 kB / 1.163 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/1.03, allocations: 132.3 kB / 1.163 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.035, allocations: 0.8126 MB / 1.164 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.06, allocations: 12.15 MB / 1.176 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.061, allocations: 1.291 MB / 1.177 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001737/1.063, allocations: 354 kB / 1.177 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009005/1.064, allocations: 0.5891 MB / 1.178 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of SimCode: time 1.433e-06/1.064, allocations: 8 kB / 1.178 GB, free: 10 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06827/1.132, allocations: 40.41 MB / 1.217 GB, free: 2.086 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.133, allocations: 199.8 kB / 1.218 GB, free: 1.832 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.885, allocations: 4 kB / 1.218 GB, free: 1.828 MB / 0.92 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)