Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.001511/0.001511, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001757/0.001757, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7788/0.7788, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 65.22 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1365, allocations: 77.94 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5477/0.6842, allocations: 176.8 MB / 0.8167 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.7035, allocations: 12.8 MB / 0.8292 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.7057, allocations: 38.25 kB / 0.8292 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.7077, allocations: 484.1 kB / 0.8297 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.7121, allocations: 1.043 MB / 0.8307 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005979/0.7181, allocations: 1.89 MB / 0.8325 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003764/0.7219, allocations: 2.554 MB / 0.835 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.7247, allocations: 1.601 MB / 0.8366 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004337/0.729, allocations: 1.467 MB / 0.838 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.7306, allocations: 0.8825 MB / 0.8389 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005776/0.7312, allocations: 173.3 kB / 0.8391 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.7347, allocations: 1.424 MB / 0.8405 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006729/0.7354, allocations: 496.3 kB / 0.8409 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.7368, allocations: 0.8743 MB / 0.8418 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005155/0.7419, allocations: 2.822 MB / 0.8445 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.742, allocations: 2.719 kB / 0.8445 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.742, allocations: 0 / 0.8445 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.728e-05/0.7421, allocations: 0 / 0.8445 GB, free: 12.53 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.005005/0.7471, allocations: 2.084 MB / 0.8466 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.7472, allocations: 10.16 kB / 0.8466 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004506/0.7476, allocations: 202 kB / 0.8468 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.7505, allocations: 415.9 kB / 0.8472 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.7528, allocations: 1.034 MB / 0.8482 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.7529, allocations: 106.4 kB / 0.8483 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/0.7532, allocations: 135.4 kB / 0.8484 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.7565, allocations: 1.516 MB / 0.8499 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.7565, allocations: 2.531 kB / 0.8499 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.7567, allocations: 61.02 kB / 0.85 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.7567, allocations: 39.16 kB / 0.85 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.7597, allocations: 1.577 MB / 0.8515 GB, free: 7.301 MB / 0.6075 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.008569/0.7683, allocations: 5.323 MB / 0.8567 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.7712, allocations: 1.508 MB / 0.8582 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009611/0.7722, allocations: 483 kB / 0.8587 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.7729, allocations: 433.1 kB / 0.8591 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.7743, allocations: 0.6918 MB / 0.8597 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 3.436e-06/0.7743, allocations: 0 / 0.8597 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=107): time 0.004702/0.779, allocations: 1.669 MB / 0.8614 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.7792, allocations: 196.9 kB / 0.8616 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.7807, allocations: 0.8922 MB / 0.8624 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.7809, allocations: 49.7 kB / 0.8625 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005436/0.7814, allocations: 0.6025 MB / 0.8631 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.7818, allocations: 372.8 kB / 0.8634 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.7821, allocations: 202.5 kB / 0.8636 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7823, allocations: 345.9 kB / 0.864 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/0.7831, allocations: 377.8 kB / 0.8643 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.7841, allocations: 0.565 MB / 0.8649 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.7859, allocations: 0.9332 MB / 0.8658 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.786, allocations: 4 kB / 0.8658 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002901/0.7889, allocations: 1.189 MB / 0.8669 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.7889, allocations: 12.03 kB / 0.867 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7889, allocations: 80 / 0.867 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.7895, allocations: 84.78 kB / 0.867 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.7907, allocations: 243.7 kB / 0.8673 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.7928, allocations: 1.661 MB / 0.8689 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7941, allocations: 133.8 kB / 0.869 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.7942, allocations: 39.98 kB / 0.8691 GB, free: 4.48 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008/0.795, allocations: 349.7 kB / 0.8694 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/0.7955, allocations: 131.2 kB / 0.8695 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.7989, allocations: 1.425 MB / 0.8709 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.799, allocations: 12 kB / 0.8709 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.799, allocations: 0 / 0.8709 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.799, allocations: 7.984 kB / 0.8709 GB, free: 2.547 MB / 0.6231 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.005684/0.8047, allocations: 2.892 MB / 0.8737 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.8047, allocations: 0 / 0.8737 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.8058, allocations: 215.7 kB / 0.874 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/0.8063, allocations: 80.73 kB / 0.874 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.8064, allocations: 39.91 kB / 0.8741 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.8083, allocations: 1.67 MB / 0.8757 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8084, allocations: 0 / 0.8757 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.8115, allocations: 1.334 MB / 0.877 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008268/0.8123, allocations: 359.8 kB / 0.8773 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.8127, allocations: 31.94 kB / 0.8774 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.8138, allocations: 79.84 kB / 0.8775 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.814, allocations: 88.88 kB / 0.8775 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.8141, allocations: 47.97 kB / 0.8776 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001107/0.8152, allocations: 0.6228 MB / 0.8782 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.325e-06/0.8152, allocations: 0 / 0.8782 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001756/0.817, allocations: 0.4909 MB / 0.8787 GB, free: 10.33 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005331/0.8223, allocations: 2.489 MB / 0.8811 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002682/0.8251, allocations: 1.116 MB / 0.8822 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.8251, allocations: 0.75 kB / 0.8822 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.8264, allocations: 0.6759 MB / 0.8829 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.8293, allocations: 0.5363 MB / 0.8834 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/0.8474, allocations: 8.932 MB / 0.8921 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.8486, allocations: 1.209 MB / 0.8933 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001589/0.8502, allocations: 385.9 kB / 0.8936 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009393/0.8511, allocations: 0.5695 MB / 0.8942 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.8511, allocations: 0 / 0.8942 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07239/0.9235, allocations: 33.99 MB / 0.9274 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.3, allocations: 10.12 kB / 0.9274 GB, free: 8.75 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)