Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",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.004116/0.004116, allocations: 97.14 kB / 15.73 MB, free: 6.039 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.001151/0.001151, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.537/2.537, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 75.83 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.259, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.6188/0.8778, allocations: 168.4 MB / 1.406 GB, free: 7.125 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01992/0.8978, allocations: 17.34 MB / 1.423 GB, free: 9.117 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008768/0.8987, allocations: 30.88 kB / 1.423 GB, free: 9.105 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.9, allocations: 0.568 MB / 1.424 GB, free: 8.621 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.9038, allocations: 1.784 MB / 1.426 GB, free: 7.285 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.9067, allocations: 1.444 MB / 1.427 GB, free: 6.199 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002478/0.9091, allocations: 2.852 MB / 1.43 GB, free: 4.492 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/0.9111, allocations: 1.947 MB / 1.432 GB, free: 3.199 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.9141, allocations: 1.413 MB / 1.433 GB, free: 2.422 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.9152, allocations: 1.106 MB / 1.434 GB, free: 1.68 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.9155, allocations: 221.4 kB / 1.434 GB, free: 1.68 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.9179, allocations: 1.552 MB / 1.436 GB, free: 484 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.9186, allocations: 0.7985 MB / 1.437 GB, free: 15.67 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.9198, allocations: 1.275 MB / 1.438 GB, free: 14.39 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.9235, allocations: 3.741 MB / 1.442 GB, free: 10.64 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.9236, allocations: 0 / 1.442 GB, free: 10.64 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9236, allocations: 3.938 kB / 1.442 GB, free: 10.63 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.9236, allocations: 0 / 1.442 GB, free: 10.63 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004231/0.9278, allocations: 2.998 MB / 1.444 GB, free: 7.562 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.9279, allocations: 12.03 kB / 1.445 GB, free: 7.551 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002767/0.9282, allocations: 252.9 kB / 1.445 GB, free: 7.293 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.9314, allocations: 0.576 MB / 1.445 GB, free: 6.715 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.9351, allocations: 3.438 MB / 1.449 GB, free: 3.227 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.9352, allocations: 131.4 kB / 1.449 GB, free: 3.098 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.9354, allocations: 167.9 kB / 1.449 GB, free: 2.934 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.9384, allocations: 1.944 MB / 1.451 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.9384, allocations: 0 / 1.451 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.9386, allocations: 76 kB / 1.451 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.9386, allocations: 40 kB / 1.451 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.942, allocations: 2.093 MB / 1.453 GB, free: 14.73 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008206/0.9502, allocations: 6.76 MB / 1.46 GB, free: 7.578 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.9534, allocations: 2.085 MB / 1.462 GB, free: 5.414 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.9546, allocations: 0.7569 MB / 1.462 GB, free: 4.652 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.9552, allocations: 433.6 kB / 1.463 GB, free: 4.156 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/0.9569, allocations: 1.009 MB / 1.464 GB, free: 3.125 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 2.314e-06/0.9569, allocations: 4 kB / 1.464 GB, free: 3.121 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006129/0.963, allocations: 2.97 MB / 1.467 GB, free: 40 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.9631, allocations: 197.2 kB / 1.467 GB, free: 15.8 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/0.9674, allocations: 4.056 MB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.9675, allocations: 61.7 kB / 1.471 GB, free: 11.68 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/0.9682, allocations: 0.8997 MB / 1.472 GB, free: 10.77 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/0.9686, allocations: 0.4919 MB / 1.472 GB, free: 10.27 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.969, allocations: 234.8 kB / 1.472 GB, free: 10.03 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.9692, allocations: 361.9 kB / 1.473 GB, free: 9.672 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.9702, allocations: 0.5687 MB / 1.473 GB, free: 9.105 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.9715, allocations: 0.7957 MB / 1.474 GB, free: 8.246 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.9738, allocations: 1.31 MB / 1.475 GB, free: 6.93 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9738, allocations: 0 / 1.475 GB, free: 6.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003471/0.9773, allocations: 1.784 MB / 1.477 GB, free: 5.121 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9773, allocations: 11.98 kB / 1.477 GB, free: 5.109 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9774, allocations: 0 / 1.477 GB, free: 5.109 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/0.9783, allocations: 212.2 kB / 1.477 GB, free: 4.887 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.9796, allocations: 323.5 kB / 1.478 GB, free: 4.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005949/0.9856, allocations: 7.32 MB / 1.485 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.9866, allocations: 165.1 kB / 1.485 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.9867, allocations: 51.97 kB / 1.485 GB, free: 12.33 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00064/0.9874, allocations: 489.4 kB / 1.486 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.9877, allocations: 202.7 kB / 1.486 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.9918, allocations: 2.138 MB / 1.488 GB, free: 9.477 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.9919, allocations: 16 kB / 1.488 GB, free: 9.461 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9919, allocations: 0 / 1.488 GB, free: 9.461 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.9919, allocations: 7.969 kB / 1.488 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006122/0.998, allocations: 4.119 MB / 1.492 GB, free: 5.258 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.998, allocations: 0 / 1.492 GB, free: 5.258 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.9993, allocations: 307.6 kB / 1.492 GB, free: 4.957 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008191/1, allocations: 224 kB / 1.492 GB, free: 4.723 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.223e-05/1, allocations: 39.97 kB / 1.492 GB, free: 4.684 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00581/1.006, allocations: 7.348 MB / 1.5 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.006, allocations: 0 / 1.5 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/1.01, allocations: 2.01 MB / 1.502 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000659/1.01, allocations: 0.5225 MB / 1.502 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.011, allocations: 32 kB / 1.502 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.012, allocations: 103.9 kB / 1.502 GB, free: 9.91 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/1.012, allocations: 113.1 kB / 1.502 GB, free: 9.797 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.012, allocations: 71.94 kB / 1.502 GB, free: 9.727 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003023/1.015, allocations: 3.116 MB / 1.505 GB, free: 6.617 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/1.015, allocations: 4 kB / 1.505 GB, free: 6.613 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001361/1.016, allocations: 0.6937 MB / 1.506 GB, free: 5.918 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00584/1.022, allocations: 3.216 MB / 1.509 GB, free: 2.852 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003033/1.025, allocations: 2.047 MB / 1.511 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.025, allocations: 4.562 kB / 1.511 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/1.027, allocations: 1.422 MB / 1.513 GB, free: 15.25 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/1.029, allocations: 0.5505 MB / 1.513 GB, free: 14.72 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/1.056, allocations: 20.83 MB / 1.533 GB, free: 9.652 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.057, allocations: 1.526 MB / 1.535 GB, free: 8.094 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001546/1.059, allocations: 0.5212 MB / 1.535 GB, free: 7.566 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.06, allocations: 0.9014 MB / 1.536 GB, free: 6.664 MB / 1.232 GB Notification: Performance of SimCode: time 5.11e-07/1.06, allocations: 0 / 1.536 GB, free: 6.664 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.633/9.693, allocations: 48.95 MB / 1.584 GB, free: 6.23 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.13/31.82, allocations: 17.69 kB / 1.584 GB, free: 6.215 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)