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.474/1.474, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 175.5 kB / 326.5 MB, free: 2.277 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.954/1.954, allocations: 205.4 MB / 0.5775 GB, free: 20.34 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.0008929/0.0008929, allocations: 95.72 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2116, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.886/5.098, allocations: 2.213 GB / 3.113 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/5.098, allocations: 87.95 kB / 3.113 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.136/7.234, allocations: 467.4 MB / 3.569 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.276e-06/7.234, allocations: 0 / 3.569 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001835/7.234, allocations: 41.31 kB / 3.569 GB, free: 214.5 MB / 0.8855 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.005309/7.239, allocations: 1.985 MB / 3.571 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/7.24, allocations: 10.06 kB / 3.571 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005985/7.24, allocations: 225 kB / 3.571 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/7.243, allocations: 457.7 kB / 3.572 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/7.246, allocations: 0.9949 MB / 3.573 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/7.246, allocations: 117.8 kB / 3.573 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/7.246, allocations: 154.9 kB / 3.573 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/7.25, allocations: 1.706 MB / 3.575 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/7.25, allocations: 5.719 kB / 3.575 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/7.25, allocations: 78.23 kB / 3.575 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/7.25, allocations: 40.22 kB / 3.575 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/7.253, allocations: 1.692 MB / 3.577 GB, free: 212.9 MB / 0.8855 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.008113/7.261, allocations: 5.915 MB / 3.582 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/7.263, allocations: 1.252 MB / 3.584 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008301/7.264, allocations: 0.8905 MB / 3.584 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/7.265, allocations: 0.7515 MB / 3.585 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=117): time 3.877e-06/7.265, allocations: 0 / 3.585 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117): time 0.004505/7.27, allocations: 1.795 MB / 3.587 GB, free: 209 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/7.27, allocations: 251 kB / 3.587 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/7.271, allocations: 0.8852 MB / 3.588 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/7.271, allocations: 55.55 kB / 3.588 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/7.272, allocations: 0.6348 MB / 3.589 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/7.272, allocations: 394.8 kB / 3.589 GB, free: 208 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/7.272, allocations: 19.22 kB / 3.589 GB, free: 208 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.653e-05/7.272, allocations: 347.9 kB / 3.589 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/7.273, allocations: 404.8 kB / 3.59 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/7.274, allocations: 0.5641 MB / 3.59 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/7.275, allocations: 483.3 kB / 3.591 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/7.275, allocations: 0 / 3.591 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002696/7.278, allocations: 1.24 MB / 3.592 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/7.278, allocations: 3.906 kB / 3.592 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/7.278, allocations: 0 / 3.592 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/7.278, allocations: 86.92 kB / 3.592 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/7.28, allocations: 266.2 kB / 3.592 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/7.281, allocations: 1.547 MB / 3.594 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/7.283, allocations: 156.3 kB / 3.594 GB, free: 206 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/7.283, allocations: 42.75 kB / 3.594 GB, free: 206 MB / 0.8855 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 () * 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 (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.000908/7.284, allocations: 368.4 kB / 3.594 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/7.284, allocations: 127.6 kB / 3.595 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/7.288, allocations: 1.549 MB / 3.596 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/7.288, allocations: 14.67 kB / 3.596 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/7.288, allocations: 0 / 3.596 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/7.288, allocations: 5.922 kB / 3.596 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/7.29, allocations: 1.458 MB / 3.597 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/7.29, allocations: 3.25 kB / 3.597 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/7.291, allocations: 263.4 kB / 3.598 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005447/7.292, allocations: 82.7 kB / 3.598 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/7.292, allocations: 36.88 kB / 3.598 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/7.293, allocations: 1.579 MB / 3.599 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/7.293, allocations: 3.953 kB / 3.599 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003944/7.297, allocations: 2.012 MB / 3.601 GB, free: 203 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/7.298, allocations: 424.1 kB / 3.602 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/7.299, allocations: 22.16 kB / 3.602 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/7.3, allocations: 125.3 kB / 3.602 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/7.3, allocations: 81.12 kB / 3.602 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/7.3, allocations: 58.27 kB / 3.602 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001136/7.302, allocations: 0.7032 MB / 3.603 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.51e-07/7.302, allocations: 0 / 3.603 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002293/7.304, allocations: 0.6537 MB / 3.603 GB, free: 202.3 MB / 0.8855 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) * Number of clocked states: 0 () * 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.007571/7.311, allocations: 4.267 MB / 3.608 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002402/7.314, allocations: 1.179 MB / 3.609 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/7.314, allocations: 4.703 kB / 3.609 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/7.315, allocations: 0.7232 MB / 3.609 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/7.318, allocations: 0.493 MB / 3.61 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/7.335, allocations: 9.264 MB / 3.619 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/7.336, allocations: 1.327 MB / 3.62 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00244/7.338, allocations: 429.6 kB / 3.621 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/7.339, allocations: 0.6437 MB / 3.621 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/7.339, allocations: 0 / 3.621 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/7.455, allocations: 55.65 MB / 3.676 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/7.455, allocations: 268.2 kB / 3.676 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.93/11.39, allocations: 0 / 3.676 GB, free: 135.1 MB / 0.8855 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)