Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 180.2 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000939/0.0009391, allocations: 87.94 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.488e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.262, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.762/5.025, allocations: 1.907 GB / 3.12 GB, free: 422.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/5.025, allocations: 87.95 kB / 3.12 GB, free: 422.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7493/5.774, allocations: 399 MB / 3.509 GB, free: 16.08 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.625e-06/5.774, allocations: 0 / 3.509 GB, free: 16.08 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001474/5.774, allocations: 35.94 kB / 3.509 GB, free: 16.05 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.003689/5.778, allocations: 1.529 MB / 3.511 GB, free: 14.46 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/5.778, allocations: 12.03 kB / 3.511 GB, free: 14.45 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003767/5.778, allocations: 169 kB / 3.511 GB, free: 14.27 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/5.781, allocations: 353.8 kB / 3.511 GB, free: 13.93 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/5.784, allocations: 1.114 MB / 3.512 GB, free: 12.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/5.784, allocations: 82.23 kB / 3.513 GB, free: 12.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/5.784, allocations: 112 kB / 3.513 GB, free: 12.57 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/5.786, allocations: 1.176 MB / 3.514 GB, free: 11.33 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/5.786, allocations: 7.922 kB / 3.514 GB, free: 11.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/5.786, allocations: 48 kB / 3.514 GB, free: 11.28 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/5.786, allocations: 31.98 kB / 3.514 GB, free: 11.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/5.788, allocations: 1.328 MB / 3.515 GB, free: 9.91 MB / 1.151 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.005619/5.794, allocations: 3.72 MB / 3.519 GB, free: 6.043 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/5.796, allocations: 1.102 MB / 3.52 GB, free: 4.922 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/5.796, allocations: 406.9 kB / 3.52 GB, free: 4.523 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006094/5.797, allocations: 421.2 kB / 3.521 GB, free: 4.039 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007569/5.797, allocations: 0.5676 MB / 3.521 GB, free: 3.453 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 3.426e-06/5.797, allocations: 0 / 3.521 GB, free: 3.453 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.002193/5.8, allocations: 0.9722 MB / 3.522 GB, free: 2.469 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/5.8, allocations: 244.1 kB / 3.522 GB, free: 2.176 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/5.801, allocations: 0.7859 MB / 3.523 GB, free: 1.363 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.706e-05/5.801, allocations: 45.7 kB / 3.523 GB, free: 1.312 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/5.801, allocations: 0.4964 MB / 3.524 GB, free: 0.8086 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/5.801, allocations: 327.2 kB / 3.524 GB, free: 496 kB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/5.802, allocations: 20 kB / 3.524 GB, free: 476 kB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/5.802, allocations: 341.9 kB / 3.524 GB, free: 128 kB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7032/6.505, allocations: 304.1 kB / 3.525 GB, free: 286.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009658/6.506, allocations: 469.2 kB / 3.525 GB, free: 286.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/6.507, allocations: 379.7 kB / 3.525 GB, free: 286.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/6.507, allocations: 2.266 kB / 3.525 GB, free: 286.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002504/6.509, allocations: 0.9967 MB / 3.526 GB, free: 286 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/6.509, allocations: 10.56 kB / 3.526 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/6.509, allocations: 2.812 kB / 3.526 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/6.51, allocations: 84.64 kB / 3.527 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/6.511, allocations: 209.2 kB / 3.527 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/6.513, allocations: 1.524 MB / 3.528 GB, free: 284.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/6.514, allocations: 126.5 kB / 3.528 GB, free: 284.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/6.514, allocations: 42.25 kB / 3.528 GB, free: 284.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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.0002554/6.514, allocations: 165.4 kB / 3.529 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/6.515, allocations: 114.2 kB / 3.529 GB, free: 284.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/6.518, allocations: 1.388 MB / 3.53 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/6.518, allocations: 16.22 kB / 3.53 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/6.518, allocations: 0 / 3.53 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/6.518, allocations: 5.062 kB / 3.53 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/6.522, allocations: 2.63 MB / 3.533 GB, free: 284 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/6.522, allocations: 1.859 kB / 3.533 GB, free: 284 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/6.523, allocations: 195.4 kB / 3.533 GB, free: 284 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005139/6.524, allocations: 86.69 kB / 3.533 GB, free: 284 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/6.524, allocations: 31.44 kB / 3.533 GB, free: 284 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/6.526, allocations: 1.56 MB / 3.534 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/6.526, allocations: 4.344 kB / 3.534 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/6.529, allocations: 1.749 MB / 3.536 GB, free: 282.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007357/6.53, allocations: 359.2 kB / 3.536 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/6.53, allocations: 24.73 kB / 3.537 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/6.531, allocations: 90.38 kB / 3.537 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/6.531, allocations: 76.39 kB / 3.537 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/6.531, allocations: 39.81 kB / 3.537 GB, free: 282.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009574/6.532, allocations: 0.6359 MB / 3.537 GB, free: 282.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/6.532, allocations: 5.391 kB / 3.537 GB, free: 282.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002164/6.534, allocations: 0.5869 MB / 3.538 GB, free: 282 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.006647/6.541, allocations: 4.461 MB / 3.542 GB, free: 280.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002071/6.543, allocations: 0.948 MB / 3.543 GB, free: 280.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/6.543, allocations: 4.047 kB / 3.543 GB, free: 280.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/6.544, allocations: 0.6 MB / 3.544 GB, free: 280.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/6.547, allocations: 468.5 kB / 3.544 GB, free: 280.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007076/6.554, allocations: 2.269 MB / 3.546 GB, free: 279.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/6.555, allocations: 1.159 MB / 3.548 GB, free: 279 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001827/6.557, allocations: 369 kB / 3.548 GB, free: 279 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008473/6.558, allocations: 0.4932 MB / 3.548 GB, free: 278.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.113e-06/6.558, allocations: 0 / 3.548 GB, free: 278.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/6.665, allocations: 56.07 MB / 3.603 GB, free: 277.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/6.666, allocations: 208.5 kB / 3.603 GB, free: 277.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.045/10.71, allocations: 0 / 3.603 GB, free: 277.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)