Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan") translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001512/0.001511, allocations: 103.5 kB / 16.27 MB, free: 5.98 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.001541/0.001541, allocations: 188.6 kB / 17.19 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7702/0.7702, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.4911 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.513, allocations: 77.91 MB / 0.5672 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.7952/1.308, allocations: 312.6 MB / 0.8725 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04338/1.352, allocations: 29.37 MB / 0.9012 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004552/1.356, allocations: 80.75 kB / 0.9013 GB, free: 84 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01148/1.368, allocations: 4.892 MB / 0.906 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/1.378, allocations: 3.04 MB / 0.909 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009477/1.388, allocations: 2.618 MB / 0.9116 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01393/1.402, allocations: 7.412 MB / 0.9188 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003896/1.406, allocations: 2.064 MB / 0.9208 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006663/1.412, allocations: 2.371 MB / 0.9231 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/1.416, allocations: 1.471 MB / 0.9246 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004048/1.416, allocations: 244 kB / 0.9248 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007875/1.424, allocations: 3.602 MB / 0.9283 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/1.425, allocations: 0.8063 MB / 0.9291 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/1.427, allocations: 1.384 MB / 0.9305 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00858/1.435, allocations: 5.325 MB / 0.9357 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.436, allocations: 3.938 kB / 0.9357 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.714e-06/1.436, allocations: 0 / 0.9357 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.076e-05/1.436, allocations: 0 / 0.9357 GB, free: 13.21 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005381/1.441, allocations: 2.907 MB / 0.9385 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.441, allocations: 8.625 kB / 0.9385 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005983/1.447, allocations: 0.9335 MB / 0.9394 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/1.459, allocations: 5.633 MB / 0.9449 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004475/1.46, allocations: 166.5 kB / 0.9451 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/1.46, allocations: 132 kB / 0.9452 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/1.464, allocations: 1.593 MB / 0.9468 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/1.464, allocations: 4 kB / 0.9468 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.464, allocations: 52 kB / 0.9468 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/1.464, allocations: 50.48 kB / 0.9469 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/1.467, allocations: 1.341 MB / 0.9482 GB, free: 196 kB / 0.6544 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.01206/1.479, allocations: 7.675 MB / 0.9557 GB, free: 7.988 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/1.481, allocations: 0.6689 MB / 0.9563 GB, free: 7.293 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/1.482, allocations: 260.7 kB / 0.9566 GB, free: 7.035 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/1.482, allocations: 194.1 kB / 0.9568 GB, free: 6.809 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.988e-05/1.482, allocations: 34.56 kB / 0.9568 GB, free: 6.766 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 3.557e-06/1.482, allocations: 0 / 0.9568 GB, free: 6.766 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.003017/1.485, allocations: 1.049 MB / 0.9578 GB, free: 5.668 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.486, allocations: 59.34 kB / 0.9579 GB, free: 5.598 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/1.489, allocations: 2.372 MB / 0.9602 GB, free: 3.207 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.493e-05/1.489, allocations: 37.7 kB / 0.9602 GB, free: 3.164 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008594/1.49, allocations: 0.9536 MB / 0.9612 GB, free: 2.199 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.49, allocations: 138.1 kB / 0.9613 GB, free: 2.062 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003893/1.491, allocations: 258.3 kB / 0.9615 GB, free: 1.805 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.491, allocations: 341.9 kB / 0.9619 GB, free: 1.465 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/1.492, allocations: 0.5243 MB / 0.9624 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/1.494, allocations: 0.7932 MB / 0.9631 GB, free: 28 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/1.496, allocations: 1.117 MB / 0.9642 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/1.496, allocations: 4 kB / 0.9642 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003568/1.499, allocations: 1.644 MB / 0.9658 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/1.499, allocations: 10.34 kB / 0.9659 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.499, allocations: 4 kB / 0.9659 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/1.5, allocations: 36.84 kB / 0.9659 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.501, allocations: 244 kB / 0.9661 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/1.502, allocations: 1.568 MB / 0.9677 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.504, allocations: 246.8 kB / 0.9679 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/1.504, allocations: 43.98 kB / 0.9679 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001976/1.506, allocations: 1.01 MB / 0.9689 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001347/1.507, allocations: 0.7895 MB / 0.9697 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00197/1.509, allocations: 1.108 MB / 0.9708 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.509, allocations: 0 / 0.9708 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003345/1.513, allocations: 1.619 MB / 0.9724 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/1.513, allocations: 8 kB / 0.9724 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/1.513, allocations: 8 kB / 0.9724 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.52e-05/1.513, allocations: 41.22 kB / 0.9724 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.514, allocations: 235.7 kB / 0.9726 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/1.515, allocations: 1.576 MB / 0.9742 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/1.517, allocations: 171.8 kB / 0.9743 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/1.517, allocations: 36 kB / 0.9744 GB, free: 3.871 MB / 0.6856 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003446/1.518, allocations: 236.8 kB / 0.9746 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/1.518, allocations: 209.4 kB / 0.9748 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/1.52, allocations: 0.7598 MB / 0.9755 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.52, allocations: 7.938 kB / 0.9755 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.52, allocations: 3.938 kB / 0.9756 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.52, allocations: 0 / 0.9756 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.524, allocations: 2.16 MB / 0.9777 GB, free: 360 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.524, allocations: 4 kB / 0.9777 GB, free: 356 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/1.525, allocations: 96.08 kB / 0.9778 GB, free: 260 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.341e-05/1.525, allocations: 32.83 kB / 0.9778 GB, free: 224 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/1.525, allocations: 20.05 kB / 0.9778 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/1.526, allocations: 1.552 MB / 0.9793 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.526, allocations: 0 / 0.9793 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.528, allocations: 0.8851 MB / 0.9802 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006556/1.528, allocations: 354.2 kB / 0.9805 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/1.528, allocations: 19.88 kB / 0.9805 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.53, allocations: 75.8 kB / 0.9806 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/1.53, allocations: 23.97 kB / 0.9806 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/1.53, allocations: 15.98 kB / 0.9807 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002747/1.532, allocations: 1.647 MB / 0.9823 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.532, allocations: 0 / 0.9823 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002698/1.535, allocations: 0.8891 MB / 0.9831 GB, free: 10.52 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009276/1.536, allocations: 446.8 kB / 0.9836 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004053/1.54, allocations: 1.842 MB / 0.9854 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.54, allocations: 4.312 kB / 0.9854 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007272/1.541, allocations: 354.8 kB / 0.9857 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/1.546, allocations: 1.256 MB / 0.9869 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/1.552, allocations: 3.302 MB / 0.9901 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.553, allocations: 1.53 MB / 0.9916 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002334/1.556, allocations: 469.9 kB / 0.9921 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/1.556, allocations: 135.4 kB / 0.9922 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of SimCode: time 2.645e-06/1.556, allocations: 0 / 0.9922 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of Templates: time 0.3808/1.937, allocations: 41.58 MB / 1.033 GB, free: 300.3 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)