Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.001572/0.001572, allocations: 109 kB / 20.48 MB, free: 1.465 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.00213/0.00213, allocations: 213.8 kB / 23.79 MB, free: 4.676 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.473/1.473, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.9576/0.9576, allocations: 150 MB / 464 MB, free: 10.51 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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.002179/0.002179, allocations: 69.88 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1897, allocations: 89.18 MB / 0.7291 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01232/0.202, allocations: 8.53 MB / 0.7374 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5817/0.7837, allocations: 155.4 MB / 0.8891 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.7857, allocations: 31.81 kB / 0.8892 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.7873, allocations: 331 kB / 0.8895 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.7913, allocations: 0.8739 MB / 0.8903 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.7951, allocations: 1.418 MB / 0.8917 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004659/0.7997, allocations: 3.007 MB / 0.8947 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.8017, allocations: 1.013 MB / 0.8956 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.8039, allocations: 1.258 MB / 0.8969 GB, free: 11.4 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.8066, allocations: 1.35 MB / 0.8982 GB, free: 10.04 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.8077, allocations: 328 kB / 0.8985 GB, free: 9.723 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.8099, allocations: 0.7378 MB / 0.8992 GB, free: 8.984 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009164/0.8108, allocations: 0.701 MB / 0.8999 GB, free: 8.281 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.8127, allocations: 1.341 MB / 0.9012 GB, free: 6.934 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.8181, allocations: 3.734 MB / 0.9049 GB, free: 3.191 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.8181, allocations: 0 / 0.9049 GB, free: 3.191 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8181, allocations: 0 / 0.9049 GB, free: 3.191 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.403e-05/0.8182, allocations: 3.938 kB / 0.9049 GB, free: 3.188 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007853/0.8261, allocations: 2.849 MB / 0.9077 GB, free: 280 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.8261, allocations: 8.031 kB / 0.9077 GB, free: 272 kB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.019e-05/0.8262, allocations: 72.66 kB / 0.9077 GB, free: 196 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004748/0.8267, allocations: 316.9 kB / 0.908 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04626/0.8729, allocations: 6.898 MB / 0.9148 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.8765, allocations: 1.371 MB / 0.9161 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.8767, allocations: 168.5 kB / 0.9163 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008093/0.8775, allocations: 220.9 kB / 0.9165 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/0.9008, allocations: 5.943 MB / 0.9223 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/0.9008, allocations: 4 kB / 0.9223 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.9012, allocations: 92 kB / 0.9224 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.9013, allocations: 55.94 kB / 0.9224 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03934/0.9406, allocations: 9.193 MB / 0.9314 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03804/0.9787, allocations: 15.58 MB / 0.9466 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02247/1.001, allocations: 5.22 MB / 0.9517 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01738/1.019, allocations: 3.854 MB / 0.9555 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/1.019, allocations: 78.09 kB / 0.9556 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01862/1.037, allocations: 4.466 MB / 0.9599 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=213): time 4.449e-06/1.037, allocations: 4 kB / 0.9599 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=213): time 0.05436/1.092, allocations: 11.5 MB / 0.9712 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/1.092, allocations: 209.9 kB / 0.9714 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/1.093, allocations: 0.962 MB / 0.9723 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005887/1.094, allocations: 69.69 kB / 0.9724 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/1.095, allocations: 0.7679 MB / 0.9731 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.096, allocations: 0.7165 MB / 0.9738 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.097, allocations: 399.2 kB / 0.9742 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.097, allocations: 305.1 kB / 0.9745 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01723/1.114, allocations: 3.735 MB / 0.9781 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01796/1.132, allocations: 3.935 MB / 0.982 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03209/1.164, allocations: 6.747 MB / 0.9886 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/1.164, allocations: 4 kB / 0.9886 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03562/1.2, allocations: 7.684 MB / 0.9961 GB, free: 3.184 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.2, allocations: 7.984 kB / 0.9961 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.2, allocations: 4 kB / 0.9961 GB, free: 3.172 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/1.201, allocations: 84.84 kB / 0.9962 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/1.211, allocations: 1.541 MB / 0.9977 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.213, allocations: 1.527 MB / 0.9992 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009381/1.223, allocations: 1.284 MB / 1 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006881/1.223, allocations: 107.9 kB / 1.001 GB, free: 14.5 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.001668/1.225, allocations: 436 kB / 1.001 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000683/1.226, allocations: 170.9 kB / 1.001 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.038/1.264, allocations: 8.487 MB / 1.009 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/1.264, allocations: 28.11 kB / 1.009 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.264, allocations: 3.938 kB / 1.009 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/1.264, allocations: 11.95 kB / 1.009 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006812/1.271, allocations: 5.223 MB / 1.015 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.271, allocations: 0 / 1.015 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01004/1.281, allocations: 1.506 MB / 1.016 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005721/1.281, allocations: 84.72 kB / 1.016 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007917/1.282, allocations: 83.89 kB / 1.016 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/1.284, allocations: 1.563 MB / 1.018 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.284, allocations: 0 / 1.018 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03601/1.32, allocations: 7.817 MB / 1.025 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/1.322, allocations: 0.6053 MB / 1.026 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005846/1.323, allocations: 59.88 kB / 1.026 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008881/1.332, allocations: 1.186 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/1.332, allocations: 157.7 kB / 1.027 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004383/1.333, allocations: 107.9 kB / 1.027 GB, free: 1.84 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001174/1.334, allocations: 0.7159 MB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.334, allocations: 4 kB / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002743/1.337, allocations: 0.7484 MB / 1.029 GB, free: 372 kB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.03904/1.376, allocations: 8.939 MB / 1.038 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.03629/1.412, allocations: 8.014 MB / 1.045 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.412, allocations: 0 / 1.045 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01884/1.431, allocations: 4.132 MB / 1.049 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.433, allocations: 398.4 kB / 1.05 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.122/1.555, allocations: 30.76 MB / 1.08 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/1.557, allocations: 1.426 MB / 1.081 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004371/1.561, allocations: 0.724 MB / 1.082 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/1.564, allocations: 0.9091 MB / 1.083 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of SimCode: time 1.052e-06/1.564, allocations: 0 / 1.083 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.417/1.981, allocations: 52.66 MB / 1.134 GB, free: 298 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/18.78, allocations: 3.969 kB / 1.134 GB, free: 298 MB / 0.8575 GB " [Timeout remaining time 641] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.88434347801376] Failed to read output from testmodel.py, exit status != 0: 19.082881375972647 19.09781308 18.276982172 Calling exit ...