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.001838/0.001838, allocations: 114.1 kB / 17.84 MB, free: 5.312 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.002235/0.002235, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.519/1.519, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9566/0.9566, allocations: 150 MB / 460.2 MB, free: 5.258 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",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.002045/0.002045, allocations: 71.94 kB / 0.6368 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1619, allocations: 89.12 MB / 0.7238 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6074/0.7693, allocations: 171.9 MB / 0.8917 GB, free: 2.859 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.7937, allocations: 17.55 MB / 0.9089 GB, free: 2.441 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.797, allocations: 44.28 kB / 0.9089 GB, free: 2.441 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.7996, allocations: 0.5997 MB / 0.9095 GB, free: 2.426 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006797/0.8064, allocations: 1.828 MB / 0.9113 GB, free: 2.355 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.8104, allocations: 1.471 MB / 0.9127 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.8145, allocations: 2.893 MB / 0.9155 GB, free: 2.301 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.8168, allocations: 1.614 MB / 0.9171 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/0.8218, allocations: 1.525 MB / 0.9186 GB, free: 2.086 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.8241, allocations: 1.155 MB / 0.9197 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008532/0.8249, allocations: 224 kB / 0.92 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/0.8291, allocations: 1.644 MB / 0.9216 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.8303, allocations: 0.8251 MB / 0.9224 GB, free: 1.738 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.833, allocations: 1.286 MB / 0.9236 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007419/0.8404, allocations: 3.806 MB / 0.9273 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8404, allocations: 0 / 0.9273 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8404, allocations: 0 / 0.9273 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001606/0.8405, allocations: 0 / 0.9273 GB, free: 0.7578 MB / 0.67 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.007994/0.8485, allocations: 3.06 MB / 0.9303 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.8486, allocations: 8.688 kB / 0.9303 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.021e-05/0.8486, allocations: 49.67 kB / 0.9304 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006697/0.8493, allocations: 247.7 kB / 0.9306 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004939/0.8543, allocations: 0.6278 MB / 0.9312 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005456/0.8597, allocations: 3.468 MB / 0.9346 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.8599, allocations: 133.1 kB / 0.9347 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006046/0.8605, allocations: 171.7 kB / 0.9349 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005433/0.8659, allocations: 1.954 MB / 0.9368 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.866, allocations: 0 / 0.9368 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004261/0.8664, allocations: 75.72 kB / 0.9369 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.8664, allocations: 40.44 kB / 0.9369 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/0.8713, allocations: 2.118 MB / 0.939 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.886, allocations: 6.938 MB / 0.9458 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.89, allocations: 2.048 MB / 0.9478 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.8915, allocations: 0.7113 MB / 0.9485 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.8922, allocations: 433.9 kB / 0.9489 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002535/0.8947, allocations: 1.01 MB / 0.9499 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 6.472e-06/0.8947, allocations: 0 / 0.9499 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146): time 0.008605/0.9033, allocations: 3.011 MB / 0.9528 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.9035, allocations: 204.4 kB / 0.953 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005687/0.9091, allocations: 4.128 MB / 0.957 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004325/0.9096, allocations: 53.7 kB / 0.9571 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.9106, allocations: 0.9195 MB / 0.958 GB, free: 24 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007301/0.9114, allocations: 0.493 MB / 0.9585 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004897/0.9119, allocations: 242.8 kB / 0.9587 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.9121, allocations: 357.9 kB / 0.959 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.9134, allocations: 0.5804 MB / 0.9596 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.9151, allocations: 0.8072 MB / 0.9604 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.9179, allocations: 1.336 MB / 0.9617 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.9179, allocations: 0 / 0.9617 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004905/0.9228, allocations: 1.808 MB / 0.9635 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.9229, allocations: 4 kB / 0.9635 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9229, allocations: 0 / 0.9635 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.924, allocations: 214.7 kB / 0.9637 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.9256, allocations: 328.5 kB / 0.964 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006649/0.9322, allocations: 7.336 MB / 0.9711 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.9342, allocations: 177.5 kB / 0.9713 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.9343, allocations: 51.97 kB / 0.9714 GB, free: 1.566 MB / 0.7012 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.00114/0.9355, allocations: 497.8 kB / 0.9718 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006543/0.9361, allocations: 210.6 kB / 0.972 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.9412, allocations: 2.149 MB / 0.9741 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.9412, allocations: 16 kB / 0.9742 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9412, allocations: 6.094 kB / 0.9742 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.9412, allocations: 7.969 kB / 0.9742 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008584/0.9498, allocations: 4.161 MB / 0.9782 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9498, allocations: 0 / 0.9782 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.9514, allocations: 317.2 kB / 0.9785 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009706/0.9524, allocations: 206.5 kB / 0.9787 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.9526, allocations: 39.97 kB / 0.9788 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00746/0.9601, allocations: 7.365 MB / 0.986 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.9601, allocations: 0 / 0.986 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/0.9659, allocations: 2.033 MB / 0.9879 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/0.9675, allocations: 0.5265 MB / 0.9885 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005039/0.968, allocations: 28 kB / 0.9885 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.9696, allocations: 115.6 kB / 0.9886 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003806/0.97, allocations: 119.2 kB / 0.9887 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/0.9702, allocations: 67.95 kB / 0.9888 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004571/0.9748, allocations: 3.165 MB / 0.9919 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9748, allocations: 3.938 kB / 0.9919 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002973/0.9777, allocations: 0.6976 MB / 0.9926 GB, free: 11.13 MB / 0.7325 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.008687/0.9864, allocations: 3.221 MB / 0.9957 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004836/0.9913, allocations: 2.015 MB / 0.9977 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.9913, allocations: 8.547 kB / 0.9977 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002772/0.9941, allocations: 1.368 MB / 0.999 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/0.9977, allocations: 0.5727 MB / 0.9996 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04055/1.038, allocations: 21.25 MB / 1.02 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/1.04, allocations: 1.545 MB / 1.022 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002226/1.042, allocations: 0.5252 MB / 1.022 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.044, allocations: 0.9093 MB / 1.023 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of SimCode: time 1.914e-06/1.044, allocations: 0 / 1.023 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1255/1.169, allocations: 50.22 MB / 1.072 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/17.22, allocations: 4.062 kB / 1.072 GB, free: 9.977 MB / 0.8106 GB " [Timeout remaining time 643] (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 os._exit(0), Time elapsed: 21.329378960013855] Failed to read output from testmodel.py, exit status != 0: 17.49626695801271 17.512647326 16.666735479 Calling exit ...