Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 223.7 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.318/1.318, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.849/2.849, allocations: 0.49 GB / 0.7959 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 72.94 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2787, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1858/0.4645, allocations: 172.1 MB / 1.495 GB, free: 5.141 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02474/0.4893, allocations: 17.76 MB / 1.512 GB, free: 3.332 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.4909, allocations: 39.62 kB / 1.512 GB, free: 3.293 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.4929, allocations: 0.5973 MB / 1.513 GB, free: 2.691 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00625/0.4991, allocations: 1.854 MB / 1.515 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.5034, allocations: 1.498 MB / 1.516 GB, free: 15.35 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004001/0.5074, allocations: 2.926 MB / 1.519 GB, free: 12.41 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.51, allocations: 1.606 MB / 1.52 GB, free: 10.75 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.514, allocations: 1.517 MB / 1.522 GB, free: 9.273 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.5155, allocations: 1.163 MB / 1.523 GB, free: 8.105 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.5158, allocations: 224 kB / 1.523 GB, free: 7.887 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.5188, allocations: 1.673 MB / 1.525 GB, free: 6.211 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006978/0.5195, allocations: 0.8139 MB / 1.526 GB, free: 5.395 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.5207, allocations: 1.294 MB / 1.527 GB, free: 4.094 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004343/0.5251, allocations: 3.813 MB / 1.531 GB, free: 272 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5251, allocations: 0 / 1.531 GB, free: 272 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5251, allocations: 0 / 1.531 GB, free: 272 kB / 1.217 GB Notification: Performance of Transformations before backend: time 2.534e-05/0.5251, allocations: 0 / 1.531 GB, free: 272 kB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004802/0.5299, allocations: 2.98 MB / 1.534 GB, free: 13.24 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.5299, allocations: 16.03 kB / 1.534 GB, free: 13.22 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.273e-05/0.53, allocations: 43.39 kB / 1.534 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002837/0.5303, allocations: 248.9 kB / 1.534 GB, free: 12.93 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/0.5342, allocations: 0.6384 MB / 1.534 GB, free: 12.29 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.5382, allocations: 3.378 MB / 1.538 GB, free: 8.875 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.5383, allocations: 127.3 kB / 1.538 GB, free: 8.75 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.5385, allocations: 175.9 kB / 1.538 GB, free: 8.578 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.5417, allocations: 1.956 MB / 1.54 GB, free: 6.57 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.5418, allocations: 0 / 1.54 GB, free: 6.57 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.5419, allocations: 72 kB / 1.54 GB, free: 6.5 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.542, allocations: 44 kB / 1.54 GB, free: 6.457 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003558/0.5455, allocations: 2.113 MB / 1.542 GB, free: 4.34 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009398/0.5549, allocations: 6.859 MB / 1.549 GB, free: 13.08 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.5581, allocations: 1.754 MB / 1.551 GB, free: 11.33 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.5593, allocations: 0.7139 MB / 1.551 GB, free: 10.62 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003893/0.5597, allocations: 125.2 kB / 1.551 GB, free: 10.5 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.5614, allocations: 1.009 MB / 1.552 GB, free: 9.465 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 2.785e-06/0.5614, allocations: 4 kB / 1.552 GB, free: 9.461 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.006456/0.5679, allocations: 2.633 MB / 1.555 GB, free: 6.809 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.568, allocations: 197.2 kB / 1.555 GB, free: 6.574 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/0.5725, allocations: 4.13 MB / 1.559 GB, free: 2.441 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.5726, allocations: 61.7 kB / 1.559 GB, free: 2.375 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007643/0.5734, allocations: 0.9117 MB / 1.56 GB, free: 1.453 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.5738, allocations: 0.4918 MB / 1.561 GB, free: 0.957 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.5742, allocations: 246.8 kB / 1.561 GB, free: 0.707 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5744, allocations: 349.9 kB / 1.561 GB, free: 368 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.5755, allocations: 0.5843 MB / 1.562 GB, free: 15.77 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.5769, allocations: 0.8125 MB / 1.563 GB, free: 14.89 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.5794, allocations: 1.333 MB / 1.564 GB, free: 13.55 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5794, allocations: 0 / 1.564 GB, free: 13.55 MB / 1.264 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003842/0.5832, allocations: 1.812 MB / 1.566 GB, free: 11.71 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5832, allocations: 8 kB / 1.566 GB, free: 11.71 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5832, allocations: 8.062 kB / 1.566 GB, free: 11.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/0.5842, allocations: 204.1 kB / 1.566 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.5857, allocations: 331.5 kB / 1.566 GB, free: 11.16 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/0.5919, allocations: 6.831 MB / 1.573 GB, free: 3.754 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.5931, allocations: 168.6 kB / 1.573 GB, free: 3.59 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.5932, allocations: 47.97 kB / 1.573 GB, free: 3.543 MB / 1.264 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 (145): * Single equations (assignments): 140 * 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.0008186/0.5941, allocations: 0.4898 MB / 1.573 GB, free: 3.043 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.5945, allocations: 206.6 kB / 1.574 GB, free: 2.84 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/0.599, allocations: 2.154 MB / 1.576 GB, free: 0.6602 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5991, allocations: 16 kB / 1.576 GB, free: 0.6445 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5991, allocations: 0 / 1.576 GB, free: 0.6445 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.5991, allocations: 7.969 kB / 1.576 GB, free: 0.6367 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007094/0.6062, allocations: 4.113 MB / 1.58 GB, free: 12.46 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6062, allocations: 3.984 kB / 1.58 GB, free: 12.46 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.6076, allocations: 323.6 kB / 1.58 GB, free: 12.14 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008372/0.6084, allocations: 200.1 kB / 1.58 GB, free: 11.93 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.6085, allocations: 43.97 kB / 1.58 GB, free: 11.89 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/0.6146, allocations: 6.838 MB / 1.587 GB, free: 4.461 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6146, allocations: 3.938 kB / 1.587 GB, free: 4.457 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.6186, allocations: 2.037 MB / 1.589 GB, free: 2.387 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009814/0.6196, allocations: 469.9 kB / 1.589 GB, free: 1.926 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.6199, allocations: 28 kB / 1.59 GB, free: 1.898 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.6211, allocations: 105.6 kB / 1.59 GB, free: 1.797 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.6213, allocations: 129 kB / 1.59 GB, free: 1.668 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.6215, allocations: 67.95 kB / 1.59 GB, free: 1.602 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003377/0.6248, allocations: 3.165 MB / 1.593 GB, free: 14.45 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6248, allocations: 4 kB / 1.593 GB, free: 14.44 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00167/0.6265, allocations: 0.6976 MB / 1.594 GB, free: 13.74 MB / 1.295 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.006527/0.633, allocations: 3.229 MB / 1.597 GB, free: 10.65 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003514/0.6366, allocations: 2.02 MB / 1.599 GB, free: 8.57 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6366, allocations: 0.6562 kB / 1.599 GB, free: 8.57 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.6387, allocations: 1.372 MB / 1.6 GB, free: 7.133 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.641, allocations: 0.5505 MB / 1.601 GB, free: 6.602 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5462/1.187, allocations: 21.28 MB / 1.621 GB, free: 270.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/1.189, allocations: 1.54 MB / 1.623 GB, free: 269.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002316/1.191, allocations: 0.5256 MB / 1.623 GB, free: 269.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.193, allocations: 0.9157 MB / 1.624 GB, free: 268.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.103e-06/1.193, allocations: 0 / 1.624 GB, free: 268.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08828/1.281, allocations: 51.21 MB / 1.674 GB, free: 233.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.92, allocations: 4.062 kB / 1.674 GB, free: 233.4 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.02854368201224] Failed to read output from testmodel.py, exit status != 0: 17.206354112015106 17.215728301 16.688569098 Calling exit ...