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.001371/0.001371, 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.00159/0.00159, allocations: 214.5 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.9998/0.9998, allocations: 150 MB / 463.9 MB, free: 10.24 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.001999/0.001999, allocations: 70.17 kB / 0.6419 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1898, allocations: 89.17 MB / 0.729 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01099/0.2008, allocations: 7.342 MB / 0.7362 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.57/0.7708, allocations: 133.8 MB / 0.8669 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.7735, allocations: 31.75 kB / 0.8669 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.7753, allocations: 331 kB / 0.8672 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.7802, allocations: 0.8797 MB / 0.8681 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.7839, allocations: 1.397 MB / 0.8694 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004599/0.7885, allocations: 3.011 MB / 0.8724 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.7904, allocations: 1.013 MB / 0.8734 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.7923, allocations: 1.258 MB / 0.8746 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.7942, allocations: 1.354 MB / 0.8759 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004931/0.7947, allocations: 328 kB / 0.8762 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.7962, allocations: 0.7261 MB / 0.8769 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007081/0.7969, allocations: 0.701 MB / 0.8776 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.7982, allocations: 1.101 MB / 0.8787 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.8028, allocations: 3.746 MB / 0.8823 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.8028, allocations: 0 / 0.8823 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8028, allocations: 0 / 0.8823 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.259e-05/0.8029, allocations: 7.938 kB / 0.8824 GB, free: 7.977 MB / 0.6544 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.006545/0.8094, allocations: 2.841 MB / 0.8851 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8095, allocations: 15.78 kB / 0.8851 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.264e-05/0.8096, allocations: 56.72 kB / 0.8852 GB, free: 5 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000416/0.81, allocations: 316.9 kB / 0.8855 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04816/0.8581, allocations: 6.906 MB / 0.8922 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/0.8624, allocations: 1.371 MB / 0.8936 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.8626, allocations: 168.5 kB / 0.8937 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.8637, allocations: 220 kB / 0.894 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02338/0.887, allocations: 6.187 MB / 0.9 GB, free: 5.641 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.8871, allocations: 7.938 kB / 0.9 GB, free: 5.633 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000383/0.8875, allocations: 92 kB / 0.9001 GB, free: 5.543 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.8875, allocations: 56 kB / 0.9001 GB, free: 5.488 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03936/0.9269, allocations: 9.193 MB / 0.9091 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03657/0.9634, allocations: 13.7 MB / 0.9225 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02208/0.9855, allocations: 5.204 MB / 0.9276 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01707/1.003, allocations: 3.857 MB / 0.9313 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/1.003, allocations: 61.94 kB / 0.9314 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01847/1.021, allocations: 4.567 MB / 0.9359 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 6.712e-06/1.021, allocations: 0 / 0.9359 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.05318/1.074, allocations: 11.51 MB / 0.9471 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/1.075, allocations: 205.9 kB / 0.9473 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/1.076, allocations: 0.9698 MB / 0.9482 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007197/1.077, allocations: 65.64 kB / 0.9483 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/1.078, allocations: 0.7679 MB / 0.9491 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.079, allocations: 0.7165 MB / 0.9498 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/1.08, allocations: 399.2 kB / 0.9501 GB, free: 160 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.08, allocations: 301.1 kB / 0.9504 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01649/1.096, allocations: 3.744 MB / 0.9541 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01709/1.114, allocations: 4.06 MB / 0.958 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03055/1.144, allocations: 6.747 MB / 0.9646 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.144, allocations: 0 / 0.9646 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03396/1.178, allocations: 7.684 MB / 0.9721 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/1.178, allocations: 8 kB / 0.9721 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.178, allocations: 7.156 kB / 0.9722 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/1.179, allocations: 80.78 kB / 0.9722 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009991/1.189, allocations: 1.549 MB / 0.9737 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/1.191, allocations: 1.529 MB / 0.9752 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009035/1.2, allocations: 1.28 MB / 0.9765 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/1.201, allocations: 105.2 kB / 0.9766 GB, free: 4.836 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: 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.001328/1.202, allocations: 434 kB / 0.977 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/1.203, allocations: 170.9 kB / 0.9772 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03551/1.238, allocations: 8.475 MB / 0.9854 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/1.238, allocations: 24 kB / 0.9855 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.238, allocations: 4 kB / 0.9855 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/1.238, allocations: 11.95 kB / 0.9855 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005627/1.244, allocations: 4.541 MB / 0.9899 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.244, allocations: 0 / 0.9899 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009413/1.253, allocations: 1.519 MB / 0.9914 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/1.254, allocations: 72.78 kB / 0.9915 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004928/1.254, allocations: 87.88 kB / 0.9915 GB, free: 4.516 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/1.256, allocations: 1.551 MB / 0.9931 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.256, allocations: 0 / 0.9931 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03453/1.291, allocations: 7.821 MB / 1.001 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.293, allocations: 0.6013 MB / 1.001 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/1.294, allocations: 51.89 kB / 1.001 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008573/1.302, allocations: 1.19 MB / 1.003 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/1.302, allocations: 157.7 kB / 1.003 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004012/1.303, allocations: 103.9 kB / 1.003 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00111/1.304, allocations: 0.7159 MB / 1.003 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.304, allocations: 0 / 1.003 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002148/1.306, allocations: 0.7637 MB / 1.004 GB, free: 7.41 MB / 0.7794 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.03715/1.343, allocations: 8.971 MB / 1.013 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.03569/1.379, allocations: 8.01 MB / 1.021 GB, free: 6.629 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.379, allocations: 4 kB / 1.021 GB, free: 6.625 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0188/1.398, allocations: 4.132 MB / 1.025 GB, free: 2.484 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.4, allocations: 393.8 kB / 1.025 GB, free: 2.121 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1196/1.52, allocations: 30.74 MB / 1.055 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.521, allocations: 0.8566 MB / 1.056 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004869/1.526, allocations: 0.7297 MB / 1.057 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002848/1.529, allocations: 0.913 MB / 1.058 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of SimCode: time 9.91e-07/1.529, allocations: 0 / 1.058 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.425/1.954, allocations: 54.43 MB / 1.111 GB, free: 307.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/18.82, allocations: 8.328 kB / 1.111 GB, free: 307.6 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: 23.026771717937663] Failed to read output from testmodel.py, exit status != 0: 19.124150610994548 19.136828145 18.330892946 Calling exit ...