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.001235/0.001235, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001412/0.001412, allocations: 215 kB / 20.13 MB, free: 2.949 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.416/1.416, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.793/2.793, allocations: 0.5003 GB / 0.8026 GB, free: 6.641 MB / 0.6387 GB " [Timeout remaining time 177] 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.00195/0.00195, allocations: 69.31 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9054/0.9074, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2068/1.114, allocations: 172 MB / 1.508 GB, free: 12.18 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02495/1.139, allocations: 17.54 MB / 1.525 GB, free: 10.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/1.141, allocations: 43.62 kB / 1.525 GB, free: 10.55 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/1.143, allocations: 0.6011 MB / 1.526 GB, free: 9.945 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005804/1.149, allocations: 1.831 MB / 1.528 GB, free: 8.113 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/1.153, allocations: 1.473 MB / 1.529 GB, free: 6.652 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00482/1.158, allocations: 2.898 MB / 1.532 GB, free: 3.746 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/1.16, allocations: 1.613 MB / 1.533 GB, free: 2.082 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/1.165, allocations: 1.512 MB / 1.535 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/1.167, allocations: 1.155 MB / 1.536 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005042/1.168, allocations: 224 kB / 1.536 GB, free: 15.23 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/1.172, allocations: 1.634 MB / 1.538 GB, free: 13.6 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/1.173, allocations: 0.8256 MB / 1.539 GB, free: 12.77 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001759/1.175, allocations: 1.286 MB / 1.54 GB, free: 11.48 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/1.181, allocations: 3.81 MB / 1.544 GB, free: 7.652 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.181, allocations: 0 / 1.544 GB, free: 7.652 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.284e-06/1.181, allocations: 0 / 1.544 GB, free: 7.652 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.642e-05/1.181, allocations: 0 / 1.544 GB, free: 7.652 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.005571/1.186, allocations: 3.052 MB / 1.547 GB, free: 4.535 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.186, allocations: 8.031 kB / 1.547 GB, free: 4.527 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.35e-05/1.186, allocations: 51.39 kB / 1.547 GB, free: 4.477 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002883/1.187, allocations: 244.9 kB / 1.547 GB, free: 4.227 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004388/1.191, allocations: 0.6383 MB / 1.548 GB, free: 3.586 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/1.196, allocations: 3.466 MB / 1.551 GB, free: 72 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/1.196, allocations: 131.5 kB / 1.551 GB, free: 15.94 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/1.196, allocations: 171.9 kB / 1.551 GB, free: 15.77 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/1.199, allocations: 1.956 MB / 1.553 GB, free: 13.76 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.199, allocations: 0 / 1.553 GB, free: 13.76 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/1.2, allocations: 72 kB / 1.553 GB, free: 13.69 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/1.2, allocations: 40 kB / 1.553 GB, free: 13.65 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/1.203, allocations: 2.113 MB / 1.555 GB, free: 11.54 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/1.215, allocations: 6.948 MB / 1.562 GB, free: 4.203 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/1.219, allocations: 2.05 MB / 1.564 GB, free: 2.066 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/1.221, allocations: 0.71 MB / 1.565 GB, free: 1.355 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/1.221, allocations: 429.6 kB / 1.565 GB, free: 0.8594 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/1.223, allocations: 1.021 MB / 1.566 GB, free: 15.82 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 3.155e-06/1.223, allocations: 0 / 1.566 GB, free: 15.82 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.007442/1.231, allocations: 3.009 MB / 1.569 GB, free: 12.7 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/1.231, allocations: 201.2 kB / 1.569 GB, free: 12.46 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/1.236, allocations: 4.127 MB / 1.573 GB, free: 8.328 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003893/1.237, allocations: 57.7 kB / 1.573 GB, free: 8.266 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/1.237, allocations: 0.9156 MB / 1.574 GB, free: 7.34 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006041/1.238, allocations: 0.4957 MB / 1.575 GB, free: 6.84 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004188/1.238, allocations: 238.8 kB / 1.575 GB, free: 6.602 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.239, allocations: 353.9 kB / 1.575 GB, free: 6.25 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/1.24, allocations: 0.5842 MB / 1.576 GB, free: 5.664 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/1.241, allocations: 0.8086 MB / 1.577 GB, free: 4.793 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/1.244, allocations: 1.337 MB / 1.578 GB, free: 3.445 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.244, allocations: 0 / 1.578 GB, free: 3.445 MB / 1.248 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004431/1.248, allocations: 1.816 MB / 1.58 GB, free: 1.605 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.248, allocations: 4 kB / 1.58 GB, free: 1.602 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/1.248, allocations: 0 / 1.58 GB, free: 1.602 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.249, allocations: 208.1 kB / 1.58 GB, free: 1.383 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.251, allocations: 335.6 kB / 1.58 GB, free: 1.055 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/1.258, allocations: 7.324 MB / 1.587 GB, free: 9.031 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.259, allocations: 175.1 kB / 1.588 GB, free: 8.859 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.259, allocations: 51.95 kB / 1.588 GB, free: 8.809 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.0009565/1.26, allocations: 499.2 kB / 1.588 GB, free: 8.312 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/1.261, allocations: 210.7 kB / 1.588 GB, free: 8.105 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00469/1.266, allocations: 2.154 MB / 1.59 GB, free: 5.922 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.266, allocations: 16 kB / 1.59 GB, free: 5.906 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.266, allocations: 0 / 1.59 GB, free: 5.906 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/1.266, allocations: 7.969 kB / 1.59 GB, free: 5.898 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007418/1.273, allocations: 4.149 MB / 1.595 GB, free: 1.672 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.273, allocations: 3.984 kB / 1.595 GB, free: 1.668 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.275, allocations: 319.6 kB / 1.595 GB, free: 1.355 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000908/1.275, allocations: 200.1 kB / 1.595 GB, free: 1.145 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.276, allocations: 43.95 kB / 1.595 GB, free: 1.102 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00647/1.282, allocations: 7.371 MB / 1.602 GB, free: 9.027 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.282, allocations: 0 / 1.602 GB, free: 9.027 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0047/1.287, allocations: 2.037 MB / 1.604 GB, free: 6.953 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.288, allocations: 0.5265 MB / 1.605 GB, free: 6.406 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/1.288, allocations: 28 kB / 1.605 GB, free: 6.379 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.289, allocations: 111.8 kB / 1.605 GB, free: 6.27 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/1.29, allocations: 117.1 kB / 1.605 GB, free: 6.156 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/1.29, allocations: 67.95 kB / 1.605 GB, free: 6.09 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003658/1.293, allocations: 3.169 MB / 1.608 GB, free: 2.93 MB / 1.279 GB Notification: Performance of sort global known variables: time 2e-07/1.293, allocations: 0 / 1.608 GB, free: 2.93 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002617/1.296, allocations: 0.6976 MB / 1.609 GB, free: 2.23 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.00707/1.303, allocations: 3.23 MB / 1.612 GB, free: 15.14 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003778/1.307, allocations: 2.016 MB / 1.614 GB, free: 13.06 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/1.307, allocations: 4.562 kB / 1.614 GB, free: 13.06 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002275/1.309, allocations: 1.375 MB / 1.615 GB, free: 11.62 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/1.312, allocations: 0.553 MB / 1.616 GB, free: 11.09 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/1.345, allocations: 21.25 MB / 1.637 GB, free: 5.602 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.346, allocations: 1.553 MB / 1.638 GB, free: 4.016 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001825/1.348, allocations: 0.5368 MB / 1.639 GB, free: 3.473 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.349, allocations: 0.9093 MB / 1.64 GB, free: 2.562 MB / 1.311 GB Notification: Performance of SimCode: time 8.81e-07/1.349, allocations: 0 / 1.64 GB, free: 2.562 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1281/1.477, allocations: 50.24 MB / 1.689 GB, free: 0.793 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/17.5, allocations: 16.3 kB / 1.689 GB, free: 0.7812 MB / 1.357 GB " [Timeout remaining time 282] (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: 23.783691150019877] Failed to read output from testmodel.py, exit status != 0: 17.77025785803562 17.784052991 16.600359011 Calling exit ...