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.001718/0.001718, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002135/0.002135, allocations: 214.1 kB / 23.78 MB, free: 4.555 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.395/1.395, allocations: 230.6 MB / 257.6 MB, free: 7.77 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.9133/0.9133, allocations: 150 MB / 464 MB, free: 10.17 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="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.001963/0.001963, allocations: 69.98 kB / 0.642 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1866, allocations: 89.18 MB / 0.729 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5402/0.7269, allocations: 148.2 MB / 0.8738 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02403/0.7509, allocations: 16.19 MB / 0.8896 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.7525, allocations: 43.62 kB / 0.8896 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.7542, allocations: 0.5622 MB / 0.8902 GB, free: 15.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005419/0.7596, allocations: 1.859 MB / 0.892 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.7632, allocations: 1.468 MB / 0.8934 GB, free: 12.54 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003882/0.7671, allocations: 2.915 MB / 0.8963 GB, free: 9.609 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.7695, allocations: 1.613 MB / 0.8979 GB, free: 7.938 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004333/0.7738, allocations: 1.524 MB / 0.8994 GB, free: 6.469 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.7755, allocations: 1.155 MB / 0.9005 GB, free: 5.309 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.7758, allocations: 224 kB / 0.9007 GB, free: 5.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.7789, allocations: 1.497 MB / 0.9022 GB, free: 3.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008029/0.7797, allocations: 0.8255 MB / 0.903 GB, free: 2.762 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.781, allocations: 1.05 MB / 0.904 GB, free: 1.707 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005285/0.7863, allocations: 3.814 MB / 0.9077 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7863, allocations: 0 / 0.9077 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7863, allocations: 3.938 kB / 0.9077 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.913e-05/0.7863, allocations: 0 / 0.9077 GB, free: 13.88 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.00521/0.7915, allocations: 2.98 MB / 0.9106 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.7916, allocations: 12.03 kB / 0.9106 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.333e-05/0.7916, allocations: 47.39 kB / 0.9107 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003028/0.7919, allocations: 252.9 kB / 0.9109 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004327/0.7963, allocations: 0.6306 MB / 0.9115 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.8009, allocations: 3.39 MB / 0.9149 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.801, allocations: 135.3 kB / 0.915 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.8013, allocations: 172 kB / 0.9151 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.8055, allocations: 2.709 MB / 0.9178 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.8055, allocations: 0 / 0.9178 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.8057, allocations: 76 kB / 0.9179 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.8057, allocations: 40 kB / 0.9179 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.8095, allocations: 2.113 MB / 0.92 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.8195, allocations: 5.132 MB / 0.925 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.8228, allocations: 1.722 MB / 0.9267 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.8242, allocations: 0.7217 MB / 0.9274 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/0.8246, allocations: 109.2 kB / 0.9275 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.8269, allocations: 1.623 MB / 0.9291 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.837e-06/0.8269, allocations: 7.938 kB / 0.9291 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.007067/0.834, allocations: 2.636 MB / 0.9316 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.8341, allocations: 197.2 kB / 0.9318 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005198/0.8393, allocations: 4.127 MB / 0.9359 GB, free: 408 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.8396, allocations: 61.69 kB / 0.9359 GB, free: 340 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009574/0.8406, allocations: 0.9196 MB / 0.9368 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006094/0.8412, allocations: 0.4957 MB / 0.9373 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004499/0.8416, allocations: 238.8 kB / 0.9375 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.8418, allocations: 353.9 kB / 0.9379 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.8431, allocations: 0.5804 MB / 0.9384 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.8448, allocations: 1.242 MB / 0.9396 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.8474, allocations: 1.349 MB / 0.941 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.8474, allocations: 0 / 0.941 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004462/0.8518, allocations: 1.804 MB / 0.9427 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8519, allocations: 4 kB / 0.9427 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8519, allocations: 4 kB / 0.9427 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.853, allocations: 208.2 kB / 0.9429 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.8545, allocations: 331.5 kB / 0.9432 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/0.8613, allocations: 6.794 MB / 0.9499 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.863, allocations: 174 kB / 0.95 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.8632, allocations: 47.97 kB / 0.9501 GB, free: 1.004 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.001005/0.8642, allocations: 490.6 kB / 0.9506 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/0.8647, allocations: 214.6 kB / 0.9508 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/0.8693, allocations: 2.15 MB / 0.9529 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.8693, allocations: 20 kB / 0.9529 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8693, allocations: 4 kB / 0.9529 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.8693, allocations: 7.969 kB / 0.9529 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007111/0.8764, allocations: 3.84 MB / 0.9566 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.8765, allocations: 4 kB / 0.9566 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.878, allocations: 323.6 kB / 0.957 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008621/0.8788, allocations: 196.1 kB / 0.9571 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.8789, allocations: 39.97 kB / 0.9572 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006531/0.8855, allocations: 6.831 MB / 0.9639 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8855, allocations: 8 kB / 0.9639 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.8901, allocations: 2.045 MB / 0.9659 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.8914, allocations: 454.1 kB / 0.9663 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.8917, allocations: 35.94 kB / 0.9663 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.893, allocations: 112.5 kB / 0.9664 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.8933, allocations: 117.1 kB / 0.9665 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/0.8935, allocations: 79.88 kB / 0.9666 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003659/0.8972, allocations: 3.161 MB / 0.9697 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8972, allocations: 0 / 0.9697 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001991/0.8992, allocations: 0.6977 MB / 0.9704 GB, free: 11.48 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.007008/0.9062, allocations: 3.266 MB / 0.9736 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003846/0.91, allocations: 2.02 MB / 0.9755 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.91, allocations: 4.891 kB / 0.9756 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.9123, allocations: 1.372 MB / 0.9769 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/0.9152, allocations: 0.5453 MB / 0.9774 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03357/0.9488, allocations: 21.25 MB / 0.9982 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.9499, allocations: 0.9689 MB / 0.9991 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001938/0.9519, allocations: 0.533 MB / 0.9996 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.9533, allocations: 0.9171 MB / 1.001 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of SimCode: time 1.362e-06/0.9533, allocations: 0 / 1.001 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/1.106, allocations: 53.25 MB / 1.053 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/18.11, allocations: 10.5 kB / 1.053 GB, free: 7.844 MB / 0.8262 GB " [Timeout remaining time 642] (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: 22.05038221704308] Failed to read output from testmodel.py, exit status != 0: 18.406997750978917 18.430192967 17.640502639 Calling exit ...