Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001238/0.001238, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001373/0.001373, allocations: 219 kB / 23.03 MB, free: 4.922 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.213/3.213, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_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.001868/0.001868, allocations: 69.58 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3101, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1945/0.5046, allocations: 148.3 MB / 1.49 GB, free: 11.1 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.5304, allocations: 16.2 MB / 1.506 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.5322, allocations: 43.62 kB / 1.506 GB, free: 10.81 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.5341, allocations: 0.5661 MB / 1.506 GB, free: 10.24 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.5399, allocations: 1.844 MB / 1.508 GB, free: 8.395 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.5437, allocations: 1.472 MB / 1.51 GB, free: 6.938 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00438/0.5481, allocations: 2.926 MB / 1.513 GB, free: 4.004 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/0.5507, allocations: 1.606 MB / 1.514 GB, free: 2.344 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004806/0.5555, allocations: 1.515 MB / 1.516 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.5573, allocations: 1.159 MB / 1.517 GB, free: 15.71 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.5578, allocations: 224 kB / 1.517 GB, free: 15.49 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.5612, allocations: 1.486 MB / 1.518 GB, free: 14 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008923/0.5621, allocations: 0.8217 MB / 1.519 GB, free: 13.18 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.5635, allocations: 1.057 MB / 1.52 GB, free: 12.11 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.5696, allocations: 3.817 MB / 1.524 GB, free: 8.281 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5696, allocations: 3.984 kB / 1.524 GB, free: 8.277 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5696, allocations: 4 kB / 1.524 GB, free: 8.273 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.152e-05/0.5697, allocations: 0 / 1.524 GB, free: 8.273 MB / 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.006573/0.5762, allocations: 2.981 MB / 1.527 GB, free: 5.246 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5763, allocations: 12.03 kB / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.315e-05/0.5763, allocations: 43.39 kB / 1.527 GB, free: 5.191 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000343/0.5767, allocations: 248.9 kB / 1.527 GB, free: 4.938 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.5814, allocations: 0.6383 MB / 1.528 GB, free: 4.297 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.587, allocations: 3.374 MB / 1.531 GB, free: 0.8867 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.5871, allocations: 127.4 kB / 1.531 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.5874, allocations: 179.9 kB / 1.531 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004637/0.5921, allocations: 2.713 MB / 1.534 GB, free: 13.63 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.5921, allocations: 7.938 kB / 1.534 GB, free: 13.62 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.5923, allocations: 72 kB / 1.534 GB, free: 13.55 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.5924, allocations: 40 kB / 1.534 GB, free: 13.52 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004038/0.5964, allocations: 2.12 MB / 1.536 GB, free: 11.39 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.6078, allocations: 5.12 MB / 1.541 GB, free: 6.191 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.6117, allocations: 1.748 MB / 1.543 GB, free: 4.438 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.6131, allocations: 0.71 MB / 1.544 GB, free: 3.723 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.6136, allocations: 113.2 kB / 1.544 GB, free: 3.613 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002489/0.6161, allocations: 1.627 MB / 1.545 GB, free: 1.816 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 5.3e-06/0.6161, allocations: 0 / 1.545 GB, free: 1.816 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.007733/0.6238, allocations: 2.64 MB / 1.548 GB, free: 15.16 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.624, allocations: 197.2 kB / 1.548 GB, free: 14.92 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005853/0.6298, allocations: 4.123 MB / 1.552 GB, free: 10.8 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004026/0.6302, allocations: 57.7 kB / 1.552 GB, free: 10.73 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.6313, allocations: 0.9194 MB / 1.553 GB, free: 9.805 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007778/0.6321, allocations: 0.4957 MB / 1.554 GB, free: 9.305 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006458/0.6327, allocations: 238.8 kB / 1.554 GB, free: 9.062 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.6329, allocations: 353.9 kB / 1.554 GB, free: 8.711 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.6343, allocations: 0.5843 MB / 1.555 GB, free: 8.129 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.636, allocations: 1.239 MB / 1.556 GB, free: 6.719 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.6387, allocations: 1.333 MB / 1.557 GB, free: 5.379 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.6387, allocations: 0 / 1.557 GB, free: 5.379 MB / 1.248 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00455/0.6433, allocations: 1.804 MB / 1.559 GB, free: 3.551 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.6433, allocations: 13.47 kB / 1.559 GB, free: 3.539 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6433, allocations: 0 / 1.559 GB, free: 3.539 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.6445, allocations: 212 kB / 1.559 GB, free: 3.316 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.6461, allocations: 323.6 kB / 1.56 GB, free: 3 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006761/0.6529, allocations: 6.795 MB / 1.566 GB, free: 11.62 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.6548, allocations: 175.5 kB / 1.566 GB, free: 11.45 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.6551, allocations: 51.95 kB / 1.566 GB, free: 11.4 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.001361/0.6564, allocations: 489.4 kB / 1.567 GB, free: 10.91 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008024/0.6572, allocations: 206.7 kB / 1.567 GB, free: 10.71 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/0.6625, allocations: 2.162 MB / 1.569 GB, free: 8.52 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.6625, allocations: 16 kB / 1.569 GB, free: 8.504 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/0.6626, allocations: 4 kB / 1.569 GB, free: 8.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.6626, allocations: 7.969 kB / 1.569 GB, free: 8.492 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008912/0.6715, allocations: 3.852 MB / 1.573 GB, free: 4.574 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.6715, allocations: 0 / 1.573 GB, free: 4.574 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.6731, allocations: 315.6 kB / 1.573 GB, free: 4.266 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009535/0.6741, allocations: 200.1 kB / 1.573 GB, free: 4.055 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.6743, allocations: 43.95 kB / 1.573 GB, free: 4.012 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006695/0.6809, allocations: 6.819 MB / 1.58 GB, free: 12.61 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.681, allocations: 0 / 1.58 GB, free: 12.61 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/0.6863, allocations: 2.037 MB / 1.582 GB, free: 10.54 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/0.6877, allocations: 469.9 kB / 1.583 GB, free: 10.08 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005993/0.6883, allocations: 32 kB / 1.583 GB, free: 10.05 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/0.6901, allocations: 114.7 kB / 1.583 GB, free: 9.938 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/0.6905, allocations: 121 kB / 1.583 GB, free: 9.816 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/0.6907, allocations: 67.95 kB / 1.583 GB, free: 9.75 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00426/0.695, allocations: 3.165 MB / 1.586 GB, free: 6.594 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.695, allocations: 3.938 kB / 1.586 GB, free: 6.59 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002864/0.6978, allocations: 0.7092 MB / 1.587 GB, free: 5.879 MB / 1.279 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.008291/0.7061, allocations: 3.244 MB / 1.59 GB, free: 2.805 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004476/0.7106, allocations: 2.02 MB / 1.592 GB, free: 0.7188 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.7106, allocations: 0.6562 kB / 1.592 GB, free: 0.7148 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002689/0.7133, allocations: 1.375 MB / 1.593 GB, free: 15.27 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/0.7169, allocations: 0.5501 MB / 1.594 GB, free: 14.74 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6793/1.396, allocations: 21.25 MB / 1.614 GB, free: 256.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.398, allocations: 0.9686 MB / 1.615 GB, free: 256.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002018/1.4, allocations: 0.5293 MB / 1.616 GB, free: 256.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.401, allocations: 0.9178 MB / 1.617 GB, free: 255.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.613e-06/1.401, allocations: 0 / 1.617 GB, free: 255.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/1.508, allocations: 53.29 MB / 1.669 GB, free: 226.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.48, allocations: 10.5 kB / 1.669 GB, free: 226.4 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 25.35934783599805] Failed to read output from testmodel.py, exit status != 0: 18.783625948010013 18.794057106 18.222037769 Calling exit ...