Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008211/0.0008208, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001021/0.001021, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.713/1.713, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005557/0.0005558, allocations: 14.78 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8337/1.125, allocations: 285.6 MB / 1.066 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.036/1.161, allocations: 28.11 MB / 1.094 GB, free: 2.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/1.164, allocations: 67.56 kB / 1.094 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004446/1.169, allocations: 0.9665 MB / 1.095 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008459/1.177, allocations: 2.181 MB / 1.097 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005898/1.183, allocations: 1.757 MB / 1.099 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007514/1.191, allocations: 5.108 MB / 1.104 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/1.194, allocations: 1.381 MB / 1.105 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/1.198, allocations: 1.801 MB / 1.107 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/1.2, allocations: 1.252 MB / 1.108 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/1.201, allocations: 68 kB / 1.108 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005566/1.206, allocations: 2.011 MB / 1.11 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007595/1.207, allocations: 494.2 kB / 1.11 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008725/1.208, allocations: 464.6 kB / 1.111 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004996/1.213, allocations: 3.409 MB / 1.114 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.213, allocations: 4 kB / 1.114 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/1.213, allocations: 0 / 1.114 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.869e-05/1.213, allocations: 0 / 1.114 GB, free: 13.15 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003794/1.217, allocations: 2.119 MB / 1.116 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.217, allocations: 12.02 kB / 1.116 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/1.222, allocations: 0.8599 MB / 1.117 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003818/1.226, allocations: 1.938 MB / 1.119 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005871/1.226, allocations: 234.5 kB / 1.119 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/1.227, allocations: 131.9 kB / 1.119 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/1.23, allocations: 1.657 MB / 1.121 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/1.23, allocations: 3.953 kB / 1.121 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/1.231, allocations: 52 kB / 1.121 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/1.231, allocations: 46.52 kB / 1.121 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/1.234, allocations: 1.505 MB / 1.122 GB, free: 4.418 MB / 0.8262 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.01121/1.246, allocations: 7.383 MB / 1.13 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/1.248, allocations: 0.7113 MB / 1.13 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006957/1.249, allocations: 303.2 kB / 1.131 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/1.249, allocations: 198.7 kB / 1.131 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.249, allocations: 34.56 kB / 1.131 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009902/1.25, allocations: 86.94 kB / 1.131 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 5.971e-06/1.25, allocations: 0 / 1.131 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.003035/1.253, allocations: 1.333 MB / 1.132 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.253, allocations: 55.41 kB / 1.132 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/1.256, allocations: 1.851 MB / 1.134 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.17e-05/1.256, allocations: 33.7 kB / 1.134 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/1.257, allocations: 0.8192 MB / 1.135 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.257, allocations: 122.2 kB / 1.135 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/1.257, allocations: 11.94 kB / 1.135 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.257, allocations: 334 kB / 1.135 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/1.258, allocations: 417 kB / 1.136 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/1.26, allocations: 0.6547 MB / 1.136 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.261, allocations: 461.3 kB / 1.137 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.261, allocations: 0 / 1.137 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002999/1.264, allocations: 1.409 MB / 1.138 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002239/1.264, allocations: 276.5 kB / 1.139 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.264, allocations: 7.953 kB / 1.139 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/1.264, allocations: 61.69 kB / 1.139 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.265, allocations: 223.7 kB / 1.139 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/1.268, allocations: 2.813 MB / 1.142 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/1.27, allocations: 280.3 kB / 1.142 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.972e-05/1.27, allocations: 31.98 kB / 1.142 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/1.27, allocations: 4 kB / 1.142 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002471/1.272, allocations: 1.151 MB / 1.143 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.272, allocations: 8 kB / 1.143 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/1.272, allocations: 57.69 kB / 1.143 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/1.273, allocations: 204 kB / 1.143 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1.275, allocations: 2.825 MB / 1.146 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.277, allocations: 216.4 kB / 1.146 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/1.277, allocations: 39.94 kB / 1.146 GB, free: 10.51 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00107/1.278, allocations: 0.5126 MB / 1.147 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/1.279, allocations: 165.8 kB / 1.147 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/1.281, allocations: 0.9331 MB / 1.148 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.281, allocations: 4 kB / 1.148 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.281, allocations: 0 / 1.148 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/1.281, allocations: 3.984 kB / 1.148 GB, free: 8.824 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.00437/1.285, allocations: 2.177 MB / 1.15 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/1.286, allocations: 4 kB / 1.15 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/1.286, allocations: 99.98 kB / 1.15 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/1.286, allocations: 49.69 kB / 1.15 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/1.286, allocations: 15.94 kB / 1.15 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.288, allocations: 2.817 MB / 1.153 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.288, allocations: 7.969 kB / 1.153 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/1.29, allocations: 0.9857 MB / 1.154 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007308/1.291, allocations: 327.1 kB / 1.154 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003915/1.291, allocations: 12 kB / 1.154 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.293, allocations: 147.7 kB / 1.154 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/1.293, allocations: 35.8 kB / 1.154 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/1.293, allocations: 15.98 kB / 1.154 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002542/1.295, allocations: 1.313 MB / 1.156 GB, free: 320 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.295, allocations: 0 / 1.156 GB, free: 320 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002869/1.298, allocations: 0.7603 MB / 1.156 GB, free: 15.55 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007955/1.299, allocations: 306.9 kB / 1.157 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003896/1.303, allocations: 1.715 MB / 1.158 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.303, allocations: 4.188 kB / 1.158 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008999/1.304, allocations: 0.4941 MB / 1.159 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004909/1.309, allocations: 0.9742 MB / 1.16 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/1.315, allocations: 3.105 MB / 1.163 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/1.316, allocations: 1.344 MB / 1.164 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002515/1.319, allocations: 382.9 kB / 1.164 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/1.319, allocations: 123.4 kB / 1.165 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of SimCode: time 1.113e-06/1.319, allocations: 0 / 1.165 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of Templates: time 0.05734/1.377, allocations: 33.22 MB / 1.197 GB, free: 6.141 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) Environment - environmentSimulation: