Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 105.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002294/0.002294, allocations: 291.5 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 180.9 MB / 0.5261 GB, free: 14.6 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 99.53 kB / 0.7247 GB, free: 40.06 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1305, allocations: 94.17 MB / 0.8167 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006345/0.1369, allocations: 4.944 MB / 0.8215 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1613/0.2982, allocations: 151.1 MB / 0.9691 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000697/0.2989, allocations: 15.94 kB / 0.9691 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005973/0.2995, allocations: 190.2 kB / 0.9693 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.3011, allocations: 0.5627 MB / 0.9698 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.3029, allocations: 0.8632 MB / 0.9707 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3043, allocations: 1.42 MB / 0.9721 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006792/0.305, allocations: 433.4 kB / 0.9725 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.3056, allocations: 0.5022 MB / 0.973 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.3061, allocations: 0.5173 MB / 0.9735 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.3063, allocations: 116 kB / 0.9736 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007621/0.3071, allocations: 483.6 kB / 0.974 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.3073, allocations: 303 kB / 0.9743 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005093/0.3078, allocations: 0.5791 MB / 0.9749 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.3096, allocations: 1.665 MB / 0.9765 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3096, allocations: 0 / 0.9765 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3096, allocations: 4 kB / 0.9765 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.3096, allocations: 0 / 0.9765 GB, free: 1.168 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002479/0.3121, allocations: 1.503 MB / 0.978 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3121, allocations: 8.031 kB / 0.978 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.3123, allocations: 139.6 kB / 0.9781 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.3134, allocations: 236 kB / 0.9784 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.3146, allocations: 0.7815 MB / 0.9791 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.3146, allocations: 66 kB / 0.9792 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3148, allocations: 88 kB / 0.9793 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.3164, allocations: 0.9833 MB / 0.9802 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3164, allocations: 3.984 kB / 0.9802 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.3165, allocations: 36 kB / 0.9803 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3165, allocations: 27.94 kB / 0.9803 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3184, allocations: 1.159 MB / 0.9814 GB, free: 12 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.3225, allocations: 3.01 MB / 0.9844 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.3242, allocations: 0.9118 MB / 0.9853 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.3247, allocations: 282.7 kB / 0.9855 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/0.3248, allocations: 36.53 kB / 0.9856 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008204/0.3256, allocations: 0.5018 MB / 0.986 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=83): time 1.853e-06/0.3256, allocations: 0 / 0.986 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=83): time 0.003019/0.3286, allocations: 1.228 MB / 0.9872 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.3287, allocations: 196.9 kB / 0.9874 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.3295, allocations: 0.6332 MB / 0.9881 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.3295, allocations: 41.7 kB / 0.9881 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.3299, allocations: 421 kB / 0.9885 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.3301, allocations: 281.5 kB / 0.9888 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.3303, allocations: 154.6 kB / 0.9889 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3305, allocations: 390.8 kB / 0.9893 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.331, allocations: 253.9 kB / 0.9895 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.3316, allocations: 385.1 kB / 0.9899 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3327, allocations: 0.6267 MB / 0.9905 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3327, allocations: 0 / 0.9905 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001806/0.3345, allocations: 0.8374 MB / 0.9913 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3345, allocations: 4 kB / 0.9913 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3345, allocations: 0 / 0.9913 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/0.3351, allocations: 88.95 kB / 0.9914 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.3357, allocations: 163.7 kB / 0.9916 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.3379, allocations: 1.638 MB / 0.9932 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.3385, allocations: 98.77 kB / 0.9933 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.3385, allocations: 35.97 kB / 0.9933 GB, free: 15.33 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003535/0.3389, allocations: 261.6 kB / 0.9935 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.339, allocations: 91.44 kB / 0.9936 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.3413, allocations: 1.081 MB / 0.9947 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3413, allocations: 12 kB / 0.9947 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3414, allocations: 0 / 0.9947 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.3414, allocations: 3.984 kB / 0.9947 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.3448, allocations: 2.111 MB / 0.9968 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3448, allocations: 0 / 0.9968 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/0.3454, allocations: 147.8 kB / 0.9969 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/0.3458, allocations: 76.72 kB / 0.997 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.3458, allocations: 23.98 kB / 0.997 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.3477, allocations: 1.662 MB / 0.9986 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3477, allocations: 0 / 0.9986 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.3496, allocations: 1.022 MB / 0.9996 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.35, allocations: 276.2 kB / 0.9999 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3501, allocations: 19.95 kB / 0.9999 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.3508, allocations: 67.92 kB / 1 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3509, allocations: 72.83 kB / 1 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.351, allocations: 43.92 kB / 1 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005514/0.3515, allocations: 459 kB / 1.001 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.3515, allocations: 0 / 1.001 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007782/0.3523, allocations: 335.1 kB / 1.001 GB, free: 7.324 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003854/0.3561, allocations: 2.068 MB / 1.003 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.3577, allocations: 0.7843 MB / 1.004 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3577, allocations: 4 kB / 1.004 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008848/0.3585, allocations: 0.5005 MB / 1.004 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3597, allocations: 325.5 kB / 1.004 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2883/0.648, allocations: 6.354 MB / 1.011 GB, free: 188.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.6485, allocations: 1.027 MB / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008024/0.6493, allocations: 268.7 kB / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.6498, allocations: 396.8 kB / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of SimCode: time 6.82e-07/0.6498, allocations: 0 / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05505/0.7048, allocations: 22.47 MB / 1.034 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.16, allocations: 13.56 kB / 1.034 GB, free: 175.3 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.96688494971022] Failed to read output from testmodel.py, exit status != 0: 13.351803035940975 13.360680974 13.049110618 Calling exit ...