Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",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.005645/0.005645, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001238/0.001238, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9674/0.9674, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 59.91 kB / 0.5953 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3623, allocations: 82.02 MB / 0.6754 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004124/0.3664, allocations: 3.061 MB / 0.6784 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.3694, allocations: 1.963 MB / 0.6803 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.3697, allocations: 10.94 kB / 0.6803 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.37, allocations: 97.77 kB / 0.6804 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.3705, allocations: 185.2 kB / 0.6806 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.3713, allocations: 373.4 kB / 0.6809 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.3719, allocations: 0.6205 MB / 0.6815 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.3724, allocations: 278.7 kB / 0.6818 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.3726, allocations: 224.5 kB / 0.682 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.373, allocations: 266.2 kB / 0.6823 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.374e-05/0.3731, allocations: 59.25 kB / 0.6823 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.3734, allocations: 114.7 kB / 0.6824 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3735, allocations: 146.3 kB / 0.6826 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.3737, allocations: 267.1 kB / 0.6828 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008047/0.3746, allocations: 0.7167 MB / 0.6835 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3746, allocations: 1.594 kB / 0.6835 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3746, allocations: 0 / 0.6835 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.3746, allocations: 0 / 0.6835 GB, free: 10.65 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001285/0.3759, allocations: 0.8846 MB / 0.6844 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3759, allocations: 9.625 kB / 0.6844 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.366e-05/0.376, allocations: 75.09 kB / 0.6845 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.3763, allocations: 76.25 kB / 0.6845 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.3769, allocations: 467.4 kB / 0.685 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.377, allocations: 29.88 kB / 0.685 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.377, allocations: 39.31 kB / 0.685 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.3777, allocations: 424.1 kB / 0.6854 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3777, allocations: 4.953 kB / 0.6855 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.3777, allocations: 15.47 kB / 0.6855 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3778, allocations: 8.781 kB / 0.6855 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.3783, allocations: 310.7 kB / 0.6858 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.38, allocations: 1.209 MB / 0.6869 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.3805, allocations: 338.6 kB / 0.6873 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.3807, allocations: 128.1 kB / 0.6874 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.3808, allocations: 9.656 kB / 0.6874 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3808, allocations: 37.61 kB / 0.6874 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.3808, allocations: 0 / 0.6874 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0007619/0.3816, allocations: 401.6 kB / 0.6878 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.3817, allocations: 187.7 kB / 0.688 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/0.3824, allocations: 0.56 MB / 0.6885 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3825, allocations: 31.23 kB / 0.6886 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.3827, allocations: 269.3 kB / 0.6888 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.645e-05/0.3828, allocations: 111.3 kB / 0.6889 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.3829, allocations: 57.89 kB / 0.689 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3831, allocations: 367.7 kB / 0.6893 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3833, allocations: 101.3 kB / 0.6894 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3835, allocations: 175 kB / 0.6896 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.3839, allocations: 216.1 kB / 0.6898 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3839, allocations: 5.531 kB / 0.6898 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000509/0.3844, allocations: 323.6 kB / 0.6901 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3844, allocations: 5.656 kB / 0.6901 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3844, allocations: 1.406 kB / 0.6901 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3845, allocations: 2.812 kB / 0.6901 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3847, allocations: 56.66 kB / 0.6902 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3847, allocations: 2.719 kB / 0.6902 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.3849, allocations: 38.3 kB / 0.6902 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3849, allocations: 15.84 kB / 0.6902 GB, free: 5.527 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) "Consumption en L" type: Real scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.booleanToReal.u,scenarioRT.greaterThreshold3.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003132/0.3852, allocations: 203.9 kB / 0.6904 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3853, allocations: 56.25 kB / 0.6905 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.386, allocations: 339.8 kB / 0.6908 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.386, allocations: 4.906 kB / 0.6908 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.386, allocations: 0 / 0.6908 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.386, allocations: 1.188 kB / 0.6908 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006222/0.3866, allocations: 0.5251 MB / 0.6913 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3866, allocations: 0 / 0.6913 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3869, allocations: 55 kB / 0.6914 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3869, allocations: 2.188 kB / 0.6914 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.3869, allocations: 6.531 kB / 0.6914 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3869, allocations: 3.438 kB / 0.6914 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3869, allocations: 0 / 0.6914 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.3877, allocations: 0.6235 MB / 0.692 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3878, allocations: 134.7 kB / 0.6921 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.3879, allocations: 6.531 kB / 0.6921 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3881, allocations: 18.14 kB / 0.6922 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.3882, allocations: 28.22 kB / 0.6922 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.3882, allocations: 18.89 kB / 0.6922 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004821/0.3887, allocations: 404.2 kB / 0.6926 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3887, allocations: 0 / 0.6926 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004/0.3891, allocations: 102.4 kB / 0.6927 GB, free: 3.789 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002293/0.3914, allocations: 1.463 MB / 0.6941 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.3919, allocations: 246 kB / 0.6944 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3919, allocations: 0 / 0.6944 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.3921, allocations: 143.8 kB / 0.6945 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.3927, allocations: 91.27 kB / 0.6946 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004811/0.3976, allocations: 3.862 MB / 0.6984 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.398, allocations: 0.8591 MB / 0.6992 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002442/0.3983, allocations: 87.25 kB / 0.6993 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.3986, allocations: 199.3 kB / 0.6995 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.3986, allocations: 0 / 0.6995 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/0.4411, allocations: 9.576 MB / 0.7088 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.576, allocations: 7.5 kB / 0.7088 GB, free: 3.645 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)