Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001687/0.001687, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001969/0.001969, allocations: 214.4 kB / 22.99 MB, free: 4.977 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9208/0.9208, allocations: 149.9 MB / 463 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003117/0.003117, allocations: 66.44 kB / 0.6411 GB, free: 10.06 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1872, allocations: 89.17 MB / 0.7282 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5181/0.7053, allocations: 148.3 MB / 0.873 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.729, allocations: 16.21 MB / 0.8889 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.7305, allocations: 43.62 kB / 0.8889 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.7323, allocations: 0.5623 MB / 0.8894 GB, free: 15.9 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.7375, allocations: 1.85 MB / 0.8913 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.7411, allocations: 1.467 MB / 0.8927 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003687/0.7448, allocations: 2.911 MB / 0.8955 GB, free: 9.688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.747, allocations: 1.578 MB / 0.8971 GB, free: 8.055 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.7511, allocations: 1.531 MB / 0.8986 GB, free: 6.582 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.7525, allocations: 1.046 MB / 0.8996 GB, free: 5.531 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003437/0.7529, allocations: 224 kB / 0.8998 GB, free: 5.312 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.7559, allocations: 1.458 MB / 0.9012 GB, free: 3.852 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008133/0.7567, allocations: 0.8295 MB / 0.902 GB, free: 3.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.758, allocations: 1.05 MB / 0.9031 GB, free: 1.965 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005145/0.7631, allocations: 3.817 MB / 0.9068 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.7631, allocations: 4 kB / 0.9068 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7631, allocations: 0 / 0.9068 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.837e-05/0.7632, allocations: 0 / 0.9068 GB, free: 14.13 MB / 0.6856 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.005146/0.7683, allocations: 2.98 MB / 0.9097 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.7684, allocations: 8.031 kB / 0.9097 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/0.7687, allocations: 256.9 kB / 0.91 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/0.7728, allocations: 0.6306 MB / 0.9106 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/0.7777, allocations: 3.394 MB / 0.9139 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.7778, allocations: 127.4 kB / 0.914 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.778, allocations: 171.9 kB / 0.9142 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003926/0.782, allocations: 2.709 MB / 0.9168 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.782, allocations: 11.94 kB / 0.9168 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.7822, allocations: 72 kB / 0.9169 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.7822, allocations: 40 kB / 0.9169 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/0.7859, allocations: 2.066 MB / 0.919 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.796, allocations: 5.117 MB / 0.9239 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.7994, allocations: 1.738 MB / 0.9256 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.8007, allocations: 0.7139 MB / 0.9263 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004493/0.8012, allocations: 117.2 kB / 0.9265 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002176/0.8033, allocations: 1.615 MB / 0.928 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.377e-06/0.8033, allocations: 0 / 0.928 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.006929/0.8103, allocations: 2.636 MB / 0.9306 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.8104, allocations: 201.2 kB / 0.9308 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005125/0.8155, allocations: 4.127 MB / 0.9348 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.8158, allocations: 61.7 kB / 0.9349 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008969/0.8167, allocations: 0.9117 MB / 0.9358 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005112/0.8172, allocations: 0.4919 MB / 0.9363 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.8176, allocations: 238.8 kB / 0.9365 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.8178, allocations: 357.9 kB / 0.9368 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.819, allocations: 0.5881 MB / 0.9374 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.8207, allocations: 1.236 MB / 0.9386 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.8232, allocations: 1.337 MB / 0.9399 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.8232, allocations: 7.922 kB / 0.9399 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004191/0.8274, allocations: 1.812 MB / 0.9417 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.8274, allocations: 8 kB / 0.9417 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.8275, allocations: 0 / 0.9417 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.8285, allocations: 212.1 kB / 0.9419 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.8301, allocations: 335.6 kB / 0.9422 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.8366, allocations: 6.791 MB / 0.9489 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.8381, allocations: 179.5 kB / 0.949 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.8382, allocations: 47.97 kB / 0.9491 GB, free: 1.34 MB / 0.7169 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.0009588/0.8392, allocations: 485.5 kB / 0.9495 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.8396, allocations: 210.7 kB / 0.9497 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.8441, allocations: 2.146 MB / 0.9518 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.8442, allocations: 20 kB / 0.9518 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.8442, allocations: 4 kB / 0.9519 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.8442, allocations: 7.969 kB / 0.9519 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007246/0.8514, allocations: 3.848 MB / 0.9556 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8514, allocations: 0 / 0.9556 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.8529, allocations: 319.6 kB / 0.9559 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/0.8537, allocations: 204 kB / 0.9561 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-05/0.8538, allocations: 39.97 kB / 0.9562 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/0.86, allocations: 6.835 MB / 0.9628 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.86, allocations: 0 / 0.9628 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004419/0.8644, allocations: 2.041 MB / 0.9648 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.8656, allocations: 466 kB / 0.9653 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.8659, allocations: 28.08 kB / 0.9653 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.8672, allocations: 109 kB / 0.9654 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.8674, allocations: 117.1 kB / 0.9655 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.8676, allocations: 75.94 kB / 0.9656 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003622/0.8712, allocations: 3.165 MB / 0.9687 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8712, allocations: 0 / 0.9687 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001888/0.8731, allocations: 0.7015 MB / 0.9694 GB, free: 11.82 MB / 0.7481 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.00692/0.88, allocations: 3.265 MB / 0.9725 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003937/0.8839, allocations: 2.016 MB / 0.9745 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.8839, allocations: 0.8906 kB / 0.9745 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002241/0.8862, allocations: 1.375 MB / 0.9759 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.8888, allocations: 0.5575 MB / 0.9764 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/0.9211, allocations: 21.24 MB / 0.9971 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.9222, allocations: 0.9697 MB / 0.9981 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001845/0.9241, allocations: 0.533 MB / 0.9986 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.9254, allocations: 0.9093 MB / 0.9995 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of SimCode: time 1.533e-06/0.9254, allocations: 0 / 0.9995 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.036, allocations: 53.42 MB / 1.052 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.89, allocations: 0 / 1.052 GB, free: 7.906 MB / 0.8262 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.728747193235904] Failed to read output from testmodel.py, exit status != 0: 16.13462187629193 16.158983889 15.391102537 Calling exit ...