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.001127/0.001127, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001154/0.001154, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7358/0.7358, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 68.44 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1764, allocations: 76.19 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5552/0.7317, allocations: 176.8 MB / 0.8042 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.7478, allocations: 12.82 MB / 0.8167 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.7498, allocations: 34.38 kB / 0.8167 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.7516, allocations: 472.5 kB / 0.8172 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.7554, allocations: 1.019 MB / 0.8182 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/0.7608, allocations: 1.879 MB / 0.82 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003336/0.7641, allocations: 2.536 MB / 0.8225 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.7666, allocations: 1.608 MB / 0.8241 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003934/0.7706, allocations: 1.43 MB / 0.8255 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.7721, allocations: 0.882 MB / 0.8263 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004258/0.7725, allocations: 171 kB / 0.8265 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.7756, allocations: 1.422 MB / 0.8279 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006372/0.7763, allocations: 498 kB / 0.8284 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.7778, allocations: 0.8766 MB / 0.8292 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004821/0.7826, allocations: 2.801 MB / 0.8319 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7826, allocations: 0 / 0.8319 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7827, allocations: 0 / 0.8319 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.671e-05/0.7828, allocations: 4 kB / 0.832 GB, free: 1.238 MB / 0.5919 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.004566/0.7873, allocations: 2.023 MB / 0.8339 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.7874, allocations: 13.95 kB / 0.8339 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003416/0.7877, allocations: 202.5 kB / 0.8341 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.7904, allocations: 405.8 kB / 0.8345 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.7925, allocations: 1.038 MB / 0.8355 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.562e-05/0.7926, allocations: 101.9 kB / 0.8356 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.7928, allocations: 127.6 kB / 0.8358 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.7956, allocations: 1.523 MB / 0.8372 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.7956, allocations: 3.938 kB / 0.8372 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.7958, allocations: 58.69 kB / 0.8373 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.7958, allocations: 33.09 kB / 0.8373 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.7985, allocations: 1.587 MB / 0.8389 GB, free: 12.7 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.007715/0.8062, allocations: 5.31 MB / 0.8441 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.8088, allocations: 1.516 MB / 0.8455 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/0.8096, allocations: 487.4 kB / 0.846 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007195/0.8103, allocations: 428.6 kB / 0.8464 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.8116, allocations: 0.6909 MB / 0.8471 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 3.446e-06/0.8116, allocations: 3.938 kB / 0.8471 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107): time 0.004284/0.8159, allocations: 1.66 MB / 0.8487 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.816, allocations: 204.8 kB / 0.8489 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.8173, allocations: 0.8882 MB / 0.8498 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.8174, allocations: 45.7 kB / 0.8498 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.8178, allocations: 0.5936 MB / 0.8504 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.8182, allocations: 364.6 kB / 0.8508 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.8185, allocations: 198.4 kB / 0.8509 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8186, allocations: 341.9 kB / 0.8513 GB, free: 1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007419/0.8194, allocations: 381.7 kB / 0.8516 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/0.8203, allocations: 0.5619 MB / 0.8522 GB, free: 0 / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.8219, allocations: 0.9292 MB / 0.8531 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.822, allocations: 4 kB / 0.8531 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002648/0.8246, allocations: 1.184 MB / 0.8543 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.8247, allocations: 11.94 kB / 0.8543 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.8247, allocations: 4 kB / 0.8543 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/0.8253, allocations: 89.17 kB / 0.8544 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.8263, allocations: 247.6 kB / 0.8546 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.8284, allocations: 1.646 MB / 0.8562 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.8295, allocations: 134.9 kB / 0.8563 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.8296, allocations: 47.97 kB / 0.8564 GB, free: 11.51 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.0007692/0.8304, allocations: 337.5 kB / 0.8567 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.8307, allocations: 118.6 kB / 0.8568 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.8337, allocations: 1.444 MB / 0.8582 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.8338, allocations: 12 kB / 0.8582 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8338, allocations: 4 kB / 0.8582 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.8338, allocations: 7.969 kB / 0.8582 GB, free: 9.582 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.004834/0.8386, allocations: 2.869 MB / 0.861 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8387, allocations: 4 kB / 0.861 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009406/0.8396, allocations: 223.7 kB / 0.8613 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.8401, allocations: 68.78 kB / 0.8613 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.8402, allocations: 43.91 kB / 0.8614 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.842, allocations: 1.661 MB / 0.863 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.842, allocations: 7.922 kB / 0.863 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.8446, allocations: 1.326 MB / 0.8643 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.8453, allocations: 355.2 kB / 0.8646 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.8455, allocations: 27.91 kB / 0.8647 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/0.8464, allocations: 86.58 kB / 0.8647 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.8466, allocations: 89.02 kB / 0.8648 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.8467, allocations: 51.95 kB / 0.8649 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008132/0.8475, allocations: 0.6189 MB / 0.8655 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8475, allocations: 0 / 0.8655 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00128/0.8488, allocations: 494.9 kB / 0.8659 GB, free: 1.438 MB / 0.6231 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.004296/0.8531, allocations: 2.467 MB / 0.8684 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.8554, allocations: 1.117 MB / 0.8694 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.8554, allocations: 4 kB / 0.8695 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.8566, allocations: 0.6836 MB / 0.8701 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.8589, allocations: 0.5205 MB / 0.8706 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.8751, allocations: 8.881 MB / 0.8793 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.8764, allocations: 1.213 MB / 0.8805 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002091/0.8785, allocations: 389.9 kB / 0.8809 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009059/0.8795, allocations: 0.5695 MB / 0.8814 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/0.8795, allocations: 0 / 0.8814 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08112/0.9606, allocations: 34.57 MB / 0.9152 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.23, allocations: 4.062 kB / 0.9152 GB, free: 15.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)