Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.006971/0.006971, allocations: 106 kB / 15.74 MB, free: 6.02 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.002098/0.002098, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.168/1.168, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.32/2.32, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 71.7 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2491, allocations: 162.3 MB / 1.242 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.144/0.3931, allocations: 154.5 MB / 1.393 GB, free: 13.76 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.4047, allocations: 10.54 MB / 1.403 GB, free: 3.184 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.405, allocations: 23.88 kB / 1.403 GB, free: 3.16 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.4057, allocations: 281.6 kB / 1.403 GB, free: 2.883 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.4075, allocations: 0.974 MB / 1.404 GB, free: 1.91 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.4093, allocations: 1.092 MB / 1.405 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4107, allocations: 1.717 MB / 1.407 GB, free: 15.11 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.4119, allocations: 1.15 MB / 1.408 GB, free: 13.92 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.4132, allocations: 0.7137 MB / 1.409 GB, free: 13.21 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/0.4139, allocations: 0.6185 MB / 1.409 GB, free: 12.59 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.4141, allocations: 136 kB / 1.41 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.4155, allocations: 1.034 MB / 1.411 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.4158, allocations: 382.8 kB / 1.411 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005527/0.4163, allocations: 0.6763 MB / 1.412 GB, free: 10.37 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.4185, allocations: 2.242 MB / 1.414 GB, free: 8.121 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4185, allocations: 0 / 1.414 GB, free: 8.121 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4185, allocations: 0 / 1.414 GB, free: 8.121 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.4185, allocations: 0 / 1.414 GB, free: 8.121 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002534/0.4211, allocations: 1.782 MB / 1.416 GB, free: 6.281 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.4211, allocations: 12.03 kB / 1.416 GB, free: 6.27 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.4213, allocations: 148.1 kB / 1.416 GB, free: 6.117 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.4226, allocations: 282.9 kB / 1.416 GB, free: 5.84 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.4239, allocations: 1.09 MB / 1.417 GB, free: 4.707 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.4239, allocations: 70 kB / 1.417 GB, free: 4.637 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.4241, allocations: 96 kB / 1.417 GB, free: 4.543 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.4257, allocations: 1.11 MB / 1.418 GB, free: 3.395 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.4258, allocations: 0 / 1.418 GB, free: 3.395 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/0.4259, allocations: 44 kB / 1.418 GB, free: 3.352 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.4259, allocations: 24 kB / 1.418 GB, free: 3.328 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.4279, allocations: 1.315 MB / 1.42 GB, free: 2.008 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.4323, allocations: 3.528 MB / 1.423 GB, free: 14.31 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.4341, allocations: 1.106 MB / 1.424 GB, free: 13.18 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.4348, allocations: 419.7 kB / 1.425 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.435, allocations: 138 kB / 1.425 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.436, allocations: 0.6216 MB / 1.425 GB, free: 11.98 MB / 1.154 GB Notification: Performance of pre-optimization done (n=95): time 1.844e-06/0.436, allocations: 0 / 1.425 GB, free: 11.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=95): time 0.003649/0.4397, allocations: 1.64 MB / 1.427 GB, free: 10.29 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4398, allocations: 192.9 kB / 1.427 GB, free: 10.06 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.4409, allocations: 1.025 MB / 1.428 GB, free: 9.027 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/0.4409, allocations: 49.7 kB / 1.428 GB, free: 8.973 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.4413, allocations: 477.2 kB / 1.429 GB, free: 8.5 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.4415, allocations: 321.3 kB / 1.429 GB, free: 8.184 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.4418, allocations: 166.6 kB / 1.429 GB, free: 8.016 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4419, allocations: 337.9 kB / 1.429 GB, free: 7.68 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/0.4425, allocations: 333.8 kB / 1.43 GB, free: 7.352 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/0.4433, allocations: 477 kB / 1.43 GB, free: 6.852 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.4447, allocations: 0.7648 MB / 1.431 GB, free: 6.078 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4447, allocations: 0 / 1.431 GB, free: 6.078 MB / 1.154 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002154/0.4468, allocations: 1.037 MB / 1.432 GB, free: 5.023 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4469, allocations: 8 kB / 1.432 GB, free: 5.016 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4469, allocations: 0 / 1.432 GB, free: 5.016 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.4475, allocations: 121.6 kB / 1.432 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000763/0.4483, allocations: 199.7 kB / 1.432 GB, free: 4.695 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.451, allocations: 3.073 MB / 1.435 GB, free: 1.344 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.4517, allocations: 115.5 kB / 1.435 GB, free: 1.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.4518, allocations: 31.98 kB / 1.435 GB, free: 1.199 MB / 1.154 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003686/0.4522, allocations: 313.6 kB / 1.436 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.4523, allocations: 115.3 kB / 1.436 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.455, allocations: 1.314 MB / 1.437 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.455, allocations: 12 kB / 1.437 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.455, allocations: 0 / 1.437 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.455, allocations: 7.969 kB / 1.437 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.4586, allocations: 2.443 MB / 1.439 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4586, allocations: 3.938 kB / 1.439 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.4593, allocations: 195.8 kB / 1.44 GB, free: 12.72 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.4598, allocations: 105.6 kB / 1.44 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.4599, allocations: 27.97 kB / 1.44 GB, free: 12.58 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/0.4626, allocations: 3.088 MB / 1.443 GB, free: 9.203 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4626, allocations: 0 / 1.443 GB, free: 9.203 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.4649, allocations: 1.241 MB / 1.444 GB, free: 7.938 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/0.4653, allocations: 335.9 kB / 1.444 GB, free: 7.59 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.4654, allocations: 20 kB / 1.444 GB, free: 7.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/0.4661, allocations: 87.97 kB / 1.444 GB, free: 7.484 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.4663, allocations: 80.83 kB / 1.445 GB, free: 7.402 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/0.4663, allocations: 43.97 kB / 1.445 GB, free: 7.359 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007812/0.4671, allocations: 0.7528 MB / 1.445 GB, free: 6.609 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4671, allocations: 0 / 1.445 GB, free: 6.609 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008612/0.468, allocations: 454.8 kB / 1.446 GB, free: 6.164 MB / 1.17 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004356/0.4724, allocations: 2.423 MB / 1.448 GB, free: 3.902 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.4743, allocations: 1.107 MB / 1.449 GB, free: 2.77 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.4743, allocations: 4 kB / 1.449 GB, free: 2.766 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4754, allocations: 0.7411 MB / 1.45 GB, free: 2.004 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4767, allocations: 362 kB / 1.45 GB, free: 1.676 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.4882, allocations: 8.357 MB / 1.458 GB, free: 9.164 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.4889, allocations: 1.107 MB / 1.459 GB, free: 8.027 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007775/0.4896, allocations: 323.8 kB / 1.46 GB, free: 7.707 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.4902, allocations: 463.2 kB / 1.46 GB, free: 7.254 MB / 1.186 GB Notification: Performance of SimCode: time 2.2e-07/0.4902, allocations: 0 / 1.46 GB, free: 7.254 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.59/11.08, allocations: 28.26 MB / 1.488 GB, free: 11.37 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.41/32.49, allocations: 12 kB / 1.488 GB, free: 11.36 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)