Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 180.8 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 87.22 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.385e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1962, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.801/5.997, allocations: 2.213 GB / 3.098 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/5.998, allocations: 79.95 kB / 3.098 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.365/7.362, allocations: 461.2 MB / 3.549 GB, free: 68.85 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/7.362, allocations: 8 kB / 3.549 GB, free: 68.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001117/7.362, allocations: 43.98 kB / 3.549 GB, free: 68.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003002/7.365, allocations: 1.784 MB / 3.55 GB, free: 66.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/7.365, allocations: 8.031 kB / 3.55 GB, free: 66.95 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/7.368, allocations: 457.3 kB / 3.551 GB, free: 66.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/7.37, allocations: 0.9854 MB / 3.552 GB, free: 65.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/7.37, allocations: 51.98 kB / 3.552 GB, free: 65.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/7.37, allocations: 92 kB / 3.552 GB, free: 65.34 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002027/7.372, allocations: 1.509 MB / 3.553 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/7.374, allocations: 1.422 MB / 3.555 GB, free: 62.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/7.374, allocations: 3.938 kB / 3.555 GB, free: 62.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/7.374, allocations: 4 kB / 3.555 GB, free: 62.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/7.374, allocations: 39.95 kB / 3.555 GB, free: 62.27 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006845/7.381, allocations: 5.621 MB / 3.56 GB, free: 56.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/7.383, allocations: 1.096 MB / 3.561 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/7.383, allocations: 0.489 MB / 3.562 GB, free: 54.78 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007084/7.384, allocations: 0.887 MB / 3.563 GB, free: 53.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008675/7.385, allocations: 0.6842 MB / 3.563 GB, free: 53.01 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 3.166e-06/7.385, allocations: 0 / 3.563 GB, free: 53.01 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.002651/7.387, allocations: 1.094 MB / 3.564 GB, free: 51.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/7.388, allocations: 252.6 kB / 3.565 GB, free: 51.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/7.389, allocations: 0.6884 MB / 3.565 GB, free: 50.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/7.389, allocations: 25.7 kB / 3.565 GB, free: 50.87 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006471/7.389, allocations: 0.6481 MB / 3.566 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/7.39, allocations: 386.2 kB / 3.566 GB, free: 49.83 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/7.39, allocations: 3.938 kB / 3.566 GB, free: 49.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/7.39, allocations: 341.9 kB / 3.567 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/7.39, allocations: 350.5 kB / 3.567 GB, free: 49.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/7.391, allocations: 0.4983 MB / 3.568 GB, free: 48.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/7.392, allocations: 434.1 kB / 3.568 GB, free: 48.17 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/7.392, allocations: 0 / 3.568 GB, free: 48.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002101/7.394, allocations: 1.074 MB / 3.569 GB, free: 47.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/7.394, allocations: 13.03 kB / 3.569 GB, free: 47.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/7.394, allocations: 3.953 kB / 3.569 GB, free: 47.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/7.394, allocations: 84.91 kB / 3.569 GB, free: 46.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/7.396, allocations: 271.6 kB / 3.569 GB, free: 46.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/7.397, allocations: 1.461 MB / 3.571 GB, free: 45.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/7.398, allocations: 119.2 kB / 3.571 GB, free: 45.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/7.398, allocations: 43.97 kB / 3.571 GB, free: 44.97 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000287/7.399, allocations: 128.8 kB / 3.571 GB, free: 44.84 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001832/7.401, allocations: 1.067 MB / 3.572 GB, free: 43.76 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/7.401, allocations: 114.6 kB / 3.572 GB, free: 43.65 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/7.403, allocations: 1.369 MB / 3.574 GB, free: 42.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/7.403, allocations: 12 kB / 3.574 GB, free: 42.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/7.403, allocations: 0 / 3.574 GB, free: 42.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/7.403, allocations: 15.86 kB / 3.574 GB, free: 42.24 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/7.405, allocations: 1.22 MB / 3.575 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/7.405, allocations: 3.938 kB / 3.575 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/7.406, allocations: 267.7 kB / 3.575 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/7.407, allocations: 88.78 kB / 3.575 GB, free: 40.63 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/7.407, allocations: 19.97 kB / 3.575 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/7.408, allocations: 1.489 MB / 3.577 GB, free: 39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/7.408, allocations: 8.016 kB / 3.577 GB, free: 38.99 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/7.411, allocations: 1.796 MB / 3.578 GB, free: 37.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/7.411, allocations: 407.2 kB / 3.579 GB, free: 36.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/7.411, allocations: 3.953 kB / 3.579 GB, free: 36.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/7.412, allocations: 103.8 kB / 3.579 GB, free: 36.65 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/7.413, allocations: 85.19 kB / 3.579 GB, free: 36.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/7.413, allocations: 51.95 kB / 3.579 GB, free: 36.51 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006455/7.413, allocations: 0.5459 MB / 3.579 GB, free: 35.97 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/7.413, allocations: 0 / 3.579 GB, free: 35.97 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001672/7.415, allocations: 0.5803 MB / 3.58 GB, free: 35.39 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005425/7.42, allocations: 4.152 MB / 3.584 GB, free: 31.26 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001624/7.422, allocations: 1.046 MB / 3.585 GB, free: 30.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/7.422, allocations: 0.7969 kB / 3.585 GB, free: 30.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008281/7.423, allocations: 0.659 MB / 3.586 GB, free: 29.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/7.425, allocations: 411.8 kB / 3.586 GB, free: 29.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/7.431, allocations: 2.551 MB / 3.589 GB, free: 26.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/7.432, allocations: 1.322 MB / 3.59 GB, free: 25.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001662/7.433, allocations: 416.7 kB / 3.59 GB, free: 24.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000747/7.434, allocations: 0.6359 MB / 3.591 GB, free: 24.14 MB / 0.8698 GB Notification: Performance of SimCode: time 9.21e-07/7.434, allocations: 4 kB / 3.591 GB, free: 24.13 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6366/8.071, allocations: 41.71 MB / 3.632 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/8.071, allocations: 167.8 kB / 3.632 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/11.49, allocations: 1.75 kB / 3.632 GB, free: 187.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)