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.001233/0.001233, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.001309/0.001309, allocations: 214.4 kB / 20.13 MB, free: 3.051 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.414/1.414, 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 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.82/2.82, allocations: 0.49 GB / 0.7923 GB, free: 1.461 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.001934/0.001934, allocations: 72.19 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.8536, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1989/1.052, allocations: 172 MB / 1.489 GB, free: 9.824 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02387/1.076, allocations: 17.54 MB / 1.507 GB, free: 11.7 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/1.079, allocations: 42.72 kB / 1.507 GB, free: 11.67 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002079/1.081, allocations: 0.5956 MB / 1.507 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005803/1.086, allocations: 1.835 MB / 1.509 GB, free: 9.375 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/1.09, allocations: 1.465 MB / 1.51 GB, free: 7.922 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004533/1.095, allocations: 2.902 MB / 1.513 GB, free: 5.008 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/1.098, allocations: 1.617 MB / 1.515 GB, free: 3.336 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005076/1.103, allocations: 1.512 MB / 1.516 GB, free: 1.867 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/1.105, allocations: 1.159 MB / 1.517 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/1.105, allocations: 224 kB / 1.518 GB, free: 496 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/1.109, allocations: 1.634 MB / 1.519 GB, free: 14.85 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008057/1.11, allocations: 0.8217 MB / 1.52 GB, free: 14.02 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/1.111, allocations: 1.29 MB / 1.521 GB, free: 12.73 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006229/1.117, allocations: 3.806 MB / 1.525 GB, free: 8.906 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.117, allocations: 0 / 1.525 GB, free: 8.906 MB / 1.201 GB Notification: Performance of FrontEnd: time 9.21e-07/1.117, allocations: 4 kB / 1.525 GB, free: 8.902 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.968e-05/1.117, allocations: 0 / 1.525 GB, free: 8.902 MB / 1.201 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.005876/1.123, allocations: 3.055 MB / 1.528 GB, free: 5.781 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.123, allocations: 11.98 kB / 1.528 GB, free: 5.77 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.093e-05/1.123, allocations: 43.39 kB / 1.528 GB, free: 5.727 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002957/1.124, allocations: 248.9 kB / 1.528 GB, free: 5.473 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/1.128, allocations: 0.6345 MB / 1.529 GB, free: 4.836 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/1.133, allocations: 3.466 MB / 1.532 GB, free: 1.32 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/1.133, allocations: 127.4 kB / 1.532 GB, free: 1.195 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/1.133, allocations: 179.9 kB / 1.533 GB, free: 1.02 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/1.137, allocations: 1.96 MB / 1.534 GB, free: 15.01 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/1.137, allocations: 0 / 1.534 GB, free: 15.01 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/1.137, allocations: 76 kB / 1.535 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/1.137, allocations: 43.94 kB / 1.535 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003752/1.141, allocations: 2.117 MB / 1.537 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/1.152, allocations: 6.926 MB / 1.543 GB, free: 5.453 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/1.155, allocations: 2.046 MB / 1.545 GB, free: 3.328 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/1.157, allocations: 0.7105 MB / 1.546 GB, free: 2.621 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/1.157, allocations: 433.6 kB / 1.547 GB, free: 2.121 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00193/1.159, allocations: 1.013 MB / 1.548 GB, free: 1.09 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 2.755e-06/1.159, allocations: 0 / 1.548 GB, free: 1.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007357/1.167, allocations: 3.005 MB / 1.55 GB, free: 13.97 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.167, allocations: 205.2 kB / 1.551 GB, free: 13.72 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/1.172, allocations: 4.13 MB / 1.555 GB, free: 9.59 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003331/1.172, allocations: 57.7 kB / 1.555 GB, free: 9.527 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000839/1.173, allocations: 0.9194 MB / 1.556 GB, free: 8.602 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/1.174, allocations: 0.4919 MB / 1.556 GB, free: 8.105 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004256/1.174, allocations: 238.8 kB / 1.556 GB, free: 7.867 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.174, allocations: 353.9 kB / 1.557 GB, free: 7.516 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.175, allocations: 0.5843 MB / 1.557 GB, free: 6.93 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/1.177, allocations: 0.8125 MB / 1.558 GB, free: 6.055 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/1.179, allocations: 1.333 MB / 1.559 GB, free: 4.707 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.179, allocations: 0 / 1.559 GB, free: 4.707 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004577/1.184, allocations: 1.808 MB / 1.561 GB, free: 2.875 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/1.184, allocations: 8 kB / 1.561 GB, free: 2.867 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.184, allocations: 0 / 1.561 GB, free: 2.867 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.185, allocations: 212.2 kB / 1.561 GB, free: 2.645 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.187, allocations: 327.5 kB / 1.562 GB, free: 2.324 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/1.194, allocations: 7.336 MB / 1.569 GB, free: 10.29 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.196, allocations: 167.1 kB / 1.569 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.196, allocations: 55.97 kB / 1.569 GB, free: 10.07 MB / 1.248 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.001042/1.197, allocations: 497.5 kB / 1.569 GB, free: 9.57 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/1.197, allocations: 206.7 kB / 1.57 GB, free: 9.367 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00485/1.202, allocations: 2.146 MB / 1.572 GB, free: 7.195 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/1.202, allocations: 23.94 kB / 1.572 GB, free: 7.172 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.202, allocations: 4 kB / 1.572 GB, free: 7.168 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.202, allocations: 7.969 kB / 1.572 GB, free: 7.16 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/1.21, allocations: 4.149 MB / 1.576 GB, free: 2.934 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.21, allocations: 4 kB / 1.576 GB, free: 2.93 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.212, allocations: 323.6 kB / 1.576 GB, free: 2.613 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009488/1.213, allocations: 204 kB / 1.576 GB, free: 2.398 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.213, allocations: 43.97 kB / 1.576 GB, free: 2.355 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/1.219, allocations: 7.356 MB / 1.584 GB, free: 10.29 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.219, allocations: 0 / 1.584 GB, free: 10.29 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/1.224, allocations: 2.037 MB / 1.586 GB, free: 8.219 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.225, allocations: 0.5228 MB / 1.586 GB, free: 7.676 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/1.226, allocations: 28 kB / 1.586 GB, free: 7.648 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.227, allocations: 123.8 kB / 1.586 GB, free: 7.531 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/1.227, allocations: 113.1 kB / 1.586 GB, free: 7.422 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.227, allocations: 71.94 kB / 1.586 GB, free: 7.352 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003594/1.231, allocations: 3.165 MB / 1.59 GB, free: 4.195 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.231, allocations: 0 / 1.59 GB, free: 4.195 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002147/1.233, allocations: 0.7054 MB / 1.59 GB, free: 3.488 MB / 1.264 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.00703/1.24, allocations: 3.231 MB / 1.593 GB, free: 408 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004116/1.244, allocations: 2.016 MB / 1.595 GB, free: 14.32 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.244, allocations: 4.562 kB / 1.595 GB, free: 14.31 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/1.247, allocations: 1.375 MB / 1.597 GB, free: 12.87 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/1.25, allocations: 0.5531 MB / 1.597 GB, free: 12.33 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04065/1.29, allocations: 21.25 MB / 1.618 GB, free: 6.84 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/1.292, allocations: 1.546 MB / 1.619 GB, free: 5.266 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002294/1.295, allocations: 0.529 MB / 1.62 GB, free: 4.73 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/1.296, allocations: 0.9093 MB / 1.621 GB, free: 3.82 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/1.296, allocations: 0 / 1.621 GB, free: 3.82 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.407, allocations: 50.24 MB / 1.67 GB, free: 2.023 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/17.37, allocations: 19.91 kB / 1.67 GB, free: 2.004 MB / 1.342 GB " [Timeout remaining time 282] (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.6202138280496] Failed to read output from testmodel.py, exit status != 0: 17.65192527003819 17.665994387 16.545647244 Calling exit ...