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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 115.8 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 193.3 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00314/0.00314, allocations: 279 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 98.88 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2705, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.008271/0.2788, allocations: 4.428 MB / 0.6859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.9318/1.211, allocations: 150.6 MB / 0.833 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/1.212, allocations: 19.88 kB / 0.833 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007792/1.213, allocations: 172.6 kB / 0.8332 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002549/1.216, allocations: 0.5148 MB / 0.8337 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/1.218, allocations: 0.843 MB / 0.8345 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002224/1.221, allocations: 1.343 MB / 0.8358 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/1.222, allocations: 0.6419 MB / 0.8364 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009632/1.223, allocations: 490.2 kB / 0.8369 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/1.224, allocations: 0.4978 MB / 0.8374 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/1.224, allocations: 124 kB / 0.8375 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/1.225, allocations: 491.6 kB / 0.838 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/1.225, allocations: 303 kB / 0.8382 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005945/1.226, allocations: 0.5479 MB / 0.8388 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002424/1.228, allocations: 1.638 MB / 0.8404 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.229, allocations: 0 / 0.8404 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/1.229, allocations: 0 / 0.8404 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.629e-05/1.229, allocations: 0 / 0.8404 GB, free: 11.86 MB / 0.6075 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.002946/1.231, allocations: 1.451 MB / 0.8418 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.232, allocations: 8.031 kB / 0.8418 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/1.233, allocations: 227.4 kB / 0.842 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/1.234, allocations: 0.7775 MB / 0.8428 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/1.234, allocations: 66 kB / 0.8428 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.235, allocations: 87.94 kB / 0.8429 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/1.236, allocations: 0.9833 MB / 0.8439 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/1.236, allocations: 0 / 0.8439 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/1.237, allocations: 40 kB / 0.8439 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/1.237, allocations: 24 kB / 0.844 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/1.239, allocations: 1.163 MB / 0.8451 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/1.243, allocations: 2.794 MB / 0.8478 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/1.245, allocations: 0.9405 MB / 0.8487 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/1.246, allocations: 306.7 kB / 0.849 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/1.246, allocations: 36.59 kB / 0.8491 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009957/1.247, allocations: 0.4962 MB / 0.8495 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=83): time 4.158e-06/1.247, allocations: 0 / 0.8495 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.003627/1.251, allocations: 1.224 MB / 0.8507 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/1.251, allocations: 192.9 kB / 0.8509 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.252, allocations: 0.637 MB / 0.8515 GB, free: 92 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/1.252, allocations: 45.7 kB / 0.8516 GB, free: 40 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/1.253, allocations: 416.2 kB / 0.852 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/1.253, allocations: 268.1 kB / 0.8522 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/1.253, allocations: 178.5 kB / 0.8524 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002376/1.254, allocations: 386.8 kB / 0.8528 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/1.254, allocations: 269.8 kB / 0.853 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006948/1.255, allocations: 389.6 kB / 0.8534 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.256, allocations: 0.6384 MB / 0.854 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.256, allocations: 4 kB / 0.854 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002277/1.259, allocations: 0.8845 MB / 0.8549 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/1.259, allocations: 4 kB / 0.8549 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.259, allocations: 4 kB / 0.8549 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/1.259, allocations: 84.95 kB / 0.855 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/1.26, allocations: 171.7 kB / 0.8552 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/1.263, allocations: 1.626 MB / 0.8567 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009963/1.264, allocations: 99.33 kB / 0.8568 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/1.264, allocations: 35.97 kB / 0.8569 GB, free: 10.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0007083/1.265, allocations: 275.4 kB / 0.8571 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/1.265, allocations: 82.97 kB / 0.8572 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/1.268, allocations: 1.088 MB / 0.8583 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.268, allocations: 8 kB / 0.8583 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.268, allocations: 4 kB / 0.8583 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/1.268, allocations: 7.984 kB / 0.8583 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/1.272, allocations: 2.084 MB / 0.8603 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.272, allocations: 0 / 0.8603 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/1.273, allocations: 155.8 kB / 0.8605 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/1.273, allocations: 68.8 kB / 0.8605 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.319e-05/1.273, allocations: 27.97 kB / 0.8606 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/1.276, allocations: 1.658 MB / 0.8622 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.276, allocations: 3.938 kB / 0.8622 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/1.278, allocations: 1.01 MB / 0.8632 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006946/1.279, allocations: 271.7 kB / 0.8634 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/1.279, allocations: 27.89 kB / 0.8635 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007956/1.28, allocations: 64.72 kB / 0.8635 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.28, allocations: 80.83 kB / 0.8636 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/1.28, allocations: 31.98 kB / 0.8636 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007451/1.281, allocations: 463 kB / 0.8641 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.281, allocations: 0 / 0.8641 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001207/1.282, allocations: 315.3 kB / 0.8644 GB, free: 2.445 MB / 0.6231 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.001753/1.284, allocations: 0.6075 MB / 0.865 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002149/1.286, allocations: 0.8585 MB / 0.8658 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.286, allocations: 0 / 0.8658 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.287, allocations: 0.5318 MB / 0.8663 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.289, allocations: 305.5 kB / 0.8666 GB, free: 332 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/1.293, allocations: 1.771 MB / 0.8683 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008945/1.294, allocations: 1.038 MB / 0.8694 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001046/1.295, allocations: 270.8 kB / 0.8696 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/1.296, allocations: 111.3 kB / 0.8697 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of SimCode: time 1.202e-06/1.296, allocations: 0 / 0.8697 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of Templates: time 0.03133/1.327, allocations: 15.34 MB / 0.8847 GB, free: 13.93 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)