Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.11/2.11, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001791/0.001791, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.001058/0.001058, allocations: 91.89 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.055e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2893, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.453/4.742, allocations: 1.908 GB / 3.127 GB, free: 405.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/4.742, allocations: 87.95 kB / 3.127 GB, free: 405.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.385/6.127, allocations: 399 MB / 3.517 GB, free: 293.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.913e-06/6.127, allocations: 0.8438 kB / 3.517 GB, free: 293.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001603/6.128, allocations: 39.86 kB / 3.517 GB, free: 293.2 MB / 1.167 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.004398/6.132, allocations: 1.518 MB / 3.519 GB, free: 292.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/6.132, allocations: 10.38 kB / 3.519 GB, free: 292.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002764/6.132, allocations: 171.9 kB / 3.519 GB, free: 292.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/6.135, allocations: 346.3 kB / 3.519 GB, free: 292.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/6.138, allocations: 1.12 MB / 3.52 GB, free: 292.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/6.138, allocations: 88.67 kB / 3.52 GB, free: 292.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/6.138, allocations: 108.9 kB / 3.52 GB, free: 292.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/6.141, allocations: 1.178 MB / 3.522 GB, free: 292.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/6.141, allocations: 0.7188 kB / 3.522 GB, free: 292.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/6.141, allocations: 46.69 kB / 3.522 GB, free: 292.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/6.141, allocations: 26.94 kB / 3.522 GB, free: 292.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/6.144, allocations: 1.336 MB / 3.523 GB, free: 292.2 MB / 1.167 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.006717/6.15, allocations: 3.728 MB / 3.527 GB, free: 291.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/6.152, allocations: 1.1 MB / 3.528 GB, free: 291 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/6.153, allocations: 410.5 kB / 3.528 GB, free: 291 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/6.154, allocations: 424 kB / 3.528 GB, free: 290.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009466/6.155, allocations: 0.5672 MB / 3.529 GB, free: 290.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 2.796e-06/6.155, allocations: 0 / 3.529 GB, free: 290.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.002294/6.157, allocations: 0.9659 MB / 3.53 GB, free: 290.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/6.157, allocations: 246.4 kB / 3.53 GB, free: 290.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/6.158, allocations: 0.7902 MB / 3.531 GB, free: 290 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-05/6.159, allocations: 45.92 kB / 3.531 GB, free: 289.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/6.159, allocations: 0.4933 MB / 3.531 GB, free: 289.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/6.159, allocations: 329 kB / 3.532 GB, free: 289.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/6.159, allocations: 18.91 kB / 3.532 GB, free: 289.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/6.159, allocations: 338.9 kB / 3.532 GB, free: 289.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/6.16, allocations: 309 kB / 3.532 GB, free: 289.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/6.161, allocations: 473.5 kB / 3.533 GB, free: 289.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/6.161, allocations: 377.7 kB / 3.533 GB, free: 289.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/6.161, allocations: 0 / 3.533 GB, free: 289.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002229/6.163, allocations: 1.006 MB / 3.534 GB, free: 289.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/6.164, allocations: 9.484 kB / 3.534 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/6.164, allocations: 4.875 kB / 3.534 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/6.164, allocations: 82.22 kB / 3.534 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/6.165, allocations: 207.4 kB / 3.534 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/6.167, allocations: 1.538 MB / 3.536 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/6.168, allocations: 118 kB / 3.536 GB, free: 287.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/6.168, allocations: 38.92 kB / 3.536 GB, free: 287.7 MB / 1.167 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.000227/6.168, allocations: 159.1 kB / 3.536 GB, free: 287.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/6.168, allocations: 112.9 kB / 3.536 GB, free: 287.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/6.171, allocations: 1.383 MB / 3.538 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/6.171, allocations: 11.22 kB / 3.538 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/6.171, allocations: 0 / 3.538 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/6.171, allocations: 6.562 kB / 3.538 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/6.177, allocations: 2.629 MB / 3.54 GB, free: 286.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/6.177, allocations: 2.312 kB / 3.54 GB, free: 286.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/6.178, allocations: 198 kB / 3.54 GB, free: 286.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000566/6.178, allocations: 93.66 kB / 3.541 GB, free: 286.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/6.178, allocations: 30.25 kB / 3.541 GB, free: 286.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/6.18, allocations: 1.562 MB / 3.542 GB, free: 285.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/6.18, allocations: 2.625 kB / 3.542 GB, free: 285.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/6.183, allocations: 1.755 MB / 3.544 GB, free: 285.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/6.184, allocations: 356.6 kB / 3.544 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/6.184, allocations: 24.56 kB / 3.544 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008646/6.185, allocations: 79.92 kB / 3.544 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/6.185, allocations: 87.56 kB / 3.544 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/6.185, allocations: 42.66 kB / 3.544 GB, free: 285.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001131/6.187, allocations: 0.6345 MB / 3.545 GB, free: 285 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.71e-07/6.187, allocations: 0 / 3.545 GB, free: 285 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002439/6.189, allocations: 0.5838 MB / 3.546 GB, free: 285 MB / 1.167 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.006738/6.196, allocations: 4.476 MB / 3.55 GB, free: 283.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001899/6.198, allocations: 0.9482 MB / 3.551 GB, free: 283.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/6.198, allocations: 1.531 kB / 3.551 GB, free: 283.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/6.199, allocations: 0.5965 MB / 3.551 GB, free: 283.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/6.201, allocations: 455 kB / 3.552 GB, free: 283.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/6.207, allocations: 2.272 MB / 3.554 GB, free: 282.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007607/6.208, allocations: 1.16 MB / 3.555 GB, free: 281.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001482/6.209, allocations: 368.7 kB / 3.556 GB, free: 281.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/6.21, allocations: 0.4924 MB / 3.556 GB, free: 281.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.272e-06/6.21, allocations: 0 / 3.556 GB, free: 281.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/6.332, allocations: 56.06 MB / 3.611 GB, free: 280.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/6.332, allocations: 221.1 kB / 3.611 GB, free: 280.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.849/10.18, allocations: 0 / 3.611 GB, free: 280.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)