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.001248/0.001248, allocations: 107 kB / 16.27 MB, free: 5.922 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.001319/0.001319, allocations: 188.4 kB / 17.19 MB, free: 5.566 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.258/1.258, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7208/0.7208, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 59.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 77.93 MB / 0.5673 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.5666/0.8822, allocations: 312.6 MB / 0.8726 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03443/0.9167, allocations: 29.37 MB / 0.9013 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.9196, allocations: 82.25 kB / 0.9014 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.9299, allocations: 4.89 MB / 0.9061 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007491/0.9374, allocations: 3.033 MB / 0.9091 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005942/0.9434, allocations: 2.618 MB / 0.9116 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009861/0.9532, allocations: 7.412 MB / 0.9189 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003177/0.9564, allocations: 2.06 MB / 0.9209 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/0.961, allocations: 2.359 MB / 0.9232 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.9638, allocations: 1.482 MB / 0.9246 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000655/0.9644, allocations: 244 kB / 0.9249 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00773/0.9722, allocations: 3.59 MB / 0.9284 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.9732, allocations: 0.8102 MB / 0.9292 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002247/0.9755, allocations: 1.384 MB / 0.9305 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008144/0.9836, allocations: 5.321 MB / 0.9357 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.9837, allocations: 0 / 0.9357 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9837, allocations: 7.938 kB / 0.9357 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.771e-05/0.9838, allocations: 0 / 0.9357 GB, free: 13.09 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.005421/0.9892, allocations: 2.904 MB / 0.9386 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.9892, allocations: 8.031 kB / 0.9386 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002693/0.9895, allocations: 194.3 kB / 0.9388 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006086/0.9956, allocations: 0.9334 MB / 0.9397 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009754/1.005, allocations: 5.633 MB / 0.9452 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/1.006, allocations: 162.5 kB / 0.9453 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/1.006, allocations: 132 kB / 0.9455 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/1.01, allocations: 1.586 MB / 0.947 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/1.01, allocations: 3.938 kB / 0.947 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/1.01, allocations: 59.98 kB / 0.9471 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/1.01, allocations: 50.48 kB / 0.9471 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/1.013, allocations: 1.333 MB / 0.9484 GB, free: 15.88 MB / 0.67 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.01024/1.024, allocations: 7.679 MB / 0.9559 GB, free: 7.676 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/1.025, allocations: 0.6684 MB / 0.9566 GB, free: 6.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/1.026, allocations: 261.9 kB / 0.9568 GB, free: 6.723 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/1.026, allocations: 194.2 kB / 0.957 GB, free: 6.496 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.027, allocations: 42.5 kB / 0.957 GB, free: 6.445 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/1.027, allocations: 0 / 0.957 GB, free: 6.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.002754/1.029, allocations: 1.046 MB / 0.9581 GB, free: 5.352 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/1.029, allocations: 55.41 kB / 0.9581 GB, free: 5.285 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/1.033, allocations: 2.376 MB / 0.9604 GB, free: 2.891 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/1.033, allocations: 33.7 kB / 0.9605 GB, free: 2.852 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008271/1.034, allocations: 0.9613 MB / 0.9614 GB, free: 1.879 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/1.034, allocations: 134.2 kB / 0.9615 GB, free: 1.746 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/1.034, allocations: 250.3 kB / 0.9618 GB, free: 1.496 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.035, allocations: 349.9 kB / 0.9621 GB, free: 1.148 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.036, allocations: 0.5204 MB / 0.9626 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/1.037, allocations: 0.7932 MB / 0.9634 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/1.039, allocations: 1.121 MB / 0.9645 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.039, allocations: 4 kB / 0.9645 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003494/1.043, allocations: 1.636 MB / 0.9661 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.043, allocations: 8 kB / 0.9661 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.043, allocations: 8 kB / 0.9661 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/1.043, allocations: 40.84 kB / 0.9661 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.044, allocations: 243.8 kB / 0.9664 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/1.045, allocations: 1.576 MB / 0.9679 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.047, allocations: 246.6 kB / 0.9681 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/1.047, allocations: 43.98 kB / 0.9682 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001952/1.049, allocations: 1.015 MB / 0.9692 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001383/1.051, allocations: 0.7895 MB / 0.97 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001945/1.053, allocations: 1.096 MB / 0.971 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.99e-06/1.053, allocations: 8 kB / 0.971 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003328/1.056, allocations: 1.611 MB / 0.9726 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.056, allocations: 8 kB / 0.9726 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.056, allocations: 8 kB / 0.9726 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.657e-05/1.056, allocations: 37.22 kB / 0.9727 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.057, allocations: 243.7 kB / 0.9729 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.058, allocations: 1.576 MB / 0.9744 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.06, allocations: 171.7 kB / 0.9746 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.862e-05/1.06, allocations: 43.98 kB / 0.9746 GB, free: 3.539 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.0002686/1.061, allocations: 228 kB / 0.9748 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/1.061, allocations: 213.3 kB / 0.9751 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/1.063, allocations: 0.764 MB / 0.9758 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.063, allocations: 7.938 kB / 0.9758 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.063, allocations: 0 / 0.9758 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.063, allocations: 0 / 0.9758 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/1.067, allocations: 2.152 MB / 0.9779 GB, free: 32 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.067, allocations: 0 / 0.9779 GB, free: 32 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/1.067, allocations: 103.9 kB / 0.978 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.938e-05/1.067, allocations: 29.06 kB / 0.978 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/1.067, allocations: 11.98 kB / 0.978 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009391/1.068, allocations: 1.556 MB / 0.9796 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.068, allocations: 4.031 kB / 0.9796 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/1.07, allocations: 0.8891 MB / 0.9804 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/1.071, allocations: 354.3 kB / 0.9808 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/1.071, allocations: 11.94 kB / 0.9808 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.072, allocations: 75.86 kB / 0.9809 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/1.072, allocations: 27.91 kB / 0.9809 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/1.072, allocations: 15.98 kB / 0.9809 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002505/1.075, allocations: 1.643 MB / 0.9825 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/1.075, allocations: 4 kB / 0.9825 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002143/1.077, allocations: 0.893 MB / 0.9834 GB, free: 10.2 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.002537/1.079, allocations: 1.765 MB / 0.9851 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003867/1.083, allocations: 1.853 MB / 0.9869 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.083, allocations: 4.125 kB / 0.9869 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007058/1.084, allocations: 350.8 kB / 0.9873 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004808/1.089, allocations: 1.241 MB / 0.9885 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/1.113, allocations: 16.48 MB / 1.005 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.114, allocations: 1.534 MB / 1.006 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002376/1.116, allocations: 473.9 kB / 1.007 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.117, allocations: 0.8076 MB / 1.007 GB, free: 440 kB / 0.7169 GB Notification: Performance of SimCode: time 5e-07/1.117, allocations: 4 kB / 1.007 GB, free: 436 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3047/1.422, allocations: 57.94 MB / 1.064 GB, free: 297.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.889/11.31, allocations: 20.14 kB / 1.064 GB, free: 297.7 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)