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.001084/0.001084, allocations: 102.6 kB / 16.27 MB, free: 5.93 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.001094/0.001095, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7254/0.7254, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 71.88 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3082, allocations: 77.91 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1699/0.4782, allocations: 176.8 MB / 0.7399 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3175/0.7958, allocations: 12.81 MB / 0.7524 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.7971, allocations: 30.16 kB / 0.7524 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.7983, allocations: 468.4 kB / 0.7529 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.8008, allocations: 1.029 MB / 0.7539 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.8051, allocations: 1.86 MB / 0.7557 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003451/0.8085, allocations: 2.527 MB / 0.7582 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.811, allocations: 1.604 MB / 0.7597 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.815, allocations: 1.408 MB / 0.7611 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.8167, allocations: 0.8871 MB / 0.762 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003615/0.8171, allocations: 175.8 kB / 0.7621 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.8202, allocations: 1.394 MB / 0.7635 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.8207, allocations: 498.6 kB / 0.764 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.8217, allocations: 0.8778 MB / 0.7648 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003754/0.8255, allocations: 2.752 MB / 0.7675 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8255, allocations: 0 / 0.7675 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8255, allocations: 1 kB / 0.7675 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.994e-05/0.8256, allocations: 0 / 0.7675 GB, free: 1.355 MB / 0.5762 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.00388/0.8294, allocations: 2.026 MB / 0.7695 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.8295, allocations: 9.75 kB / 0.7695 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/0.8297, allocations: 205.6 kB / 0.7697 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.8324, allocations: 411.4 kB / 0.7701 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.8339, allocations: 0.9866 MB / 0.7711 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.021e-05/0.834, allocations: 104.2 kB / 0.7712 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.8342, allocations: 132.9 kB / 0.7713 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.8367, allocations: 1.527 MB / 0.7728 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.8368, allocations: 1.875 kB / 0.7728 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.8369, allocations: 62.73 kB / 0.7728 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.8369, allocations: 34.16 kB / 0.7729 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.8393, allocations: 1.581 MB / 0.7744 GB, free: 15.61 MB / 0.5919 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.006892/0.8462, allocations: 5.354 MB / 0.7796 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.8485, allocations: 1.522 MB / 0.7811 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/0.8493, allocations: 483.3 kB / 0.7816 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.85, allocations: 430.1 kB / 0.782 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.8511, allocations: 0.686 MB / 0.7827 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.465e-06/0.8511, allocations: 2.719 kB / 0.7827 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.003997/0.8551, allocations: 1.671 MB / 0.7843 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/0.8552, allocations: 195.5 kB / 0.7845 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.8565, allocations: 0.891 MB / 0.7854 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.8566, allocations: 51.83 kB / 0.7854 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.857, allocations: 0.5946 MB / 0.786 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.8573, allocations: 355.8 kB / 0.7863 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.8576, allocations: 199.3 kB / 0.7865 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8578, allocations: 347.1 kB / 0.7869 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/0.8585, allocations: 375 kB / 0.7872 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/0.8593, allocations: 0.561 MB / 0.7878 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.861, allocations: 0.9364 MB / 0.7887 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.861, allocations: 3.406 kB / 0.7887 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002494/0.8635, allocations: 1.189 MB / 0.7898 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.8635, allocations: 8.688 kB / 0.7898 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8635, allocations: 2.25 kB / 0.7899 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.8641, allocations: 86.11 kB / 0.7899 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.8651, allocations: 241.8 kB / 0.7902 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.8672, allocations: 1.654 MB / 0.7918 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.8683, allocations: 127 kB / 0.7919 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.8685, allocations: 48.88 kB / 0.7919 GB, free: 8.906 MB / 0.5919 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.000581/0.869, allocations: 347.1 kB / 0.7923 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.8694, allocations: 126 kB / 0.7924 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/0.8723, allocations: 1.434 MB / 0.7938 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.8723, allocations: 11.06 kB / 0.7938 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.8723, allocations: 2.312 kB / 0.7938 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.8724, allocations: 6.609 kB / 0.7938 GB, free: 8.609 MB / 0.5919 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.0046/0.877, allocations: 2.875 MB / 0.7966 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.877, allocations: 0 / 0.7966 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009157/0.8779, allocations: 222.7 kB / 0.7968 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/0.8783, allocations: 72.28 kB / 0.7969 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.8784, allocations: 34.19 kB / 0.7969 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.8803, allocations: 1.671 MB / 0.7986 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8803, allocations: 2.469 kB / 0.7986 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.8829, allocations: 1.32 MB / 0.7999 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.8836, allocations: 358.4 kB / 0.8002 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.8838, allocations: 24.38 kB / 0.8002 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.8849, allocations: 81.45 kB / 0.8003 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.8851, allocations: 84.09 kB / 0.8004 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.8852, allocations: 54.44 kB / 0.8004 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008196/0.886, allocations: 0.6168 MB / 0.801 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.886, allocations: 2.688 kB / 0.801 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001414/0.8875, allocations: 0.4885 MB / 0.8015 GB, free: 6.105 MB / 0.5919 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.004633/0.8921, allocations: 2.483 MB / 0.8039 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.8955, allocations: 1.436 MB / 0.8053 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8955, allocations: 3.438 kB / 0.8054 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.8967, allocations: 0.6775 MB / 0.806 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.8992, allocations: 0.5434 MB / 0.8065 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.9136, allocations: 9.427 MB / 0.8157 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/0.9144, allocations: 1.208 MB / 0.8169 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001519/0.9159, allocations: 391.3 kB / 0.8173 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/0.9167, allocations: 0.5712 MB / 0.8179 GB, free: 432 kB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.9167, allocations: 0 / 0.8179 GB, free: 432 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06648/0.9832, allocations: 33.65 MB / 0.8507 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.41, allocations: 11.94 kB / 0.8507 GB, free: 15.68 MB / 0.6387 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)