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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",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.001109/0.001109, allocations: 105.6 kB / 16.27 MB, free: 5.977 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.001064/0.001064, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.204/1.204, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.674/0.674, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2766, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.482/0.7586, allocations: 312.6 MB / 0.8726 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02972/0.7884, allocations: 29.37 MB / 0.9013 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.7907, allocations: 79.25 kB / 0.9013 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007862/0.7986, allocations: 4.884 MB / 0.9061 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.8047, allocations: 3.041 MB / 0.9091 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004733/0.8094, allocations: 2.619 MB / 0.9116 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007602/0.817, allocations: 7.41 MB / 0.9189 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.8191, allocations: 2.06 MB / 0.9209 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.8223, allocations: 2.371 MB / 0.9232 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.824, allocations: 1.47 MB / 0.9246 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002752/0.8243, allocations: 248 kB / 0.9249 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00508/0.8294, allocations: 3.598 MB / 0.9284 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005862/0.83, allocations: 0.8102 MB / 0.9292 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.831, allocations: 1.384 MB / 0.9305 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.836, allocations: 5.314 MB / 0.9357 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.836, allocations: 0 / 0.9357 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.836, allocations: 7.938 kB / 0.9357 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.836, allocations: 0 / 0.9357 GB, free: 13.24 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.003685/0.8397, allocations: 2.9 MB / 0.9386 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.8398, allocations: 12.62 kB / 0.9386 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.84, allocations: 190.3 kB / 0.9388 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005212/0.8452, allocations: 0.9412 MB / 0.9397 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008584/0.8538, allocations: 5.623 MB / 0.9452 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.8542, allocations: 166.5 kB / 0.9453 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.8543, allocations: 132 kB / 0.9455 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.8571, allocations: 1.59 MB / 0.947 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.8572, allocations: 0 / 0.947 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.8573, allocations: 56 kB / 0.9471 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.8573, allocations: 46.5 kB / 0.9471 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.8603, allocations: 1.341 MB / 0.9484 GB, free: 40 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.008602/0.8689, allocations: 7.675 MB / 0.9559 GB, free: 7.836 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.8707, allocations: 0.6806 MB / 0.9566 GB, free: 7.129 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.8713, allocations: 264.7 kB / 0.9568 GB, free: 6.867 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.8716, allocations: 186.2 kB / 0.957 GB, free: 6.648 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.8716, allocations: 38.56 kB / 0.957 GB, free: 6.602 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 1.442e-06/0.8716, allocations: 0 / 0.957 GB, free: 6.602 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.002415/0.8741, allocations: 1.045 MB / 0.9581 GB, free: 5.508 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.8741, allocations: 59.34 kB / 0.9581 GB, free: 5.438 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.877, allocations: 2.368 MB / 0.9604 GB, free: 3.051 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.8771, allocations: 33.7 kB / 0.9605 GB, free: 3.012 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/0.8778, allocations: 0.9691 MB / 0.9614 GB, free: 2.031 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/0.8779, allocations: 126.2 kB / 0.9615 GB, free: 1.906 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.8783, allocations: 254.2 kB / 0.9618 GB, free: 1.652 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8784, allocations: 353.9 kB / 0.9621 GB, free: 1.301 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.8795, allocations: 0.5165 MB / 0.9626 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.8808, allocations: 0.7971 MB / 0.9634 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.8827, allocations: 1.121 MB / 0.9645 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8827, allocations: 0 / 0.9645 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002985/0.8857, allocations: 1.64 MB / 0.9661 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8858, allocations: 8 kB / 0.9661 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.8858, allocations: 8 kB / 0.9661 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.8859, allocations: 36.84 kB / 0.9661 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.887, allocations: 244 kB / 0.9664 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.888, allocations: 1.576 MB / 0.9679 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.8895, allocations: 248.8 kB / 0.9681 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-05/0.8896, allocations: 43.98 kB / 0.9682 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001596/0.8912, allocations: 1.015 MB / 0.9692 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001226/0.8924, allocations: 0.7856 MB / 0.9699 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001983/0.8944, allocations: 1.1 MB / 0.971 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.959e-06/0.8944, allocations: 4 kB / 0.971 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002813/0.8972, allocations: 1.611 MB / 0.9726 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8973, allocations: 11.98 kB / 0.9726 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8973, allocations: 8 kB / 0.9726 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.912e-05/0.8973, allocations: 33.23 kB / 0.9726 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.8984, allocations: 243.6 kB / 0.9729 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008856/0.8993, allocations: 1.584 MB / 0.9744 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.9007, allocations: 171.8 kB / 0.9746 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.9008, allocations: 35.98 kB / 0.9746 GB, free: 3.699 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.0001848/0.901, allocations: 235.9 kB / 0.9748 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.9012, allocations: 209.3 kB / 0.975 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.9027, allocations: 0.7561 MB / 0.9758 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9027, allocations: 11.88 kB / 0.9758 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.9027, allocations: 4 kB / 0.9758 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.9028, allocations: 7.922 kB / 0.9758 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.9057, allocations: 2.144 MB / 0.9779 GB, free: 192 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9057, allocations: 4 kB / 0.9779 GB, free: 188 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.9063, allocations: 100.1 kB / 0.978 GB, free: 88 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.409e-05/0.9064, allocations: 28.84 kB / 0.978 GB, free: 56 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.9064, allocations: 8 kB / 0.978 GB, free: 48 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008621/0.9073, allocations: 1.56 MB / 0.9796 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9073, allocations: 4 kB / 0.9796 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.9088, allocations: 0.8889 MB / 0.9804 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.9092, allocations: 354.3 kB / 0.9808 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.9094, allocations: 15.94 kB / 0.9808 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009656/0.9104, allocations: 79.8 kB / 0.9809 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.9104, allocations: 19.97 kB / 0.9809 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.9105, allocations: 19.98 kB / 0.9809 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002144/0.9126, allocations: 1.647 MB / 0.9825 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9126, allocations: 0 / 0.9825 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001826/0.9145, allocations: 0.8852 MB / 0.9834 GB, free: 10.36 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.002318/0.9168, allocations: 1.773 MB / 0.9851 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.9202, allocations: 1.856 MB / 0.9869 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.9203, allocations: 4 kB / 0.9869 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.9209, allocations: 347.3 kB / 0.9873 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/0.9251, allocations: 1.246 MB / 0.9885 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/0.9459, allocations: 16.48 MB / 1.005 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.9469, allocations: 1.53 MB / 1.006 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001829/0.9487, allocations: 477.8 kB / 1.007 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009038/0.9497, allocations: 0.7961 MB / 1.007 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.9497, allocations: 0 / 1.007 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.06/3.01, allocations: 57.95 MB / 1.064 GB, free: 298 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/17.41, allocations: 14.38 kB / 1.064 GB, free: 298 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)