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.001772/0.001772, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.002071/0.002071, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.559/1.559, allocations: 230.6 MB / 254.2 MB, free: 15.05 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 / 460.2 MB, free: 5.211 MB / 350.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.001962/0.001962, allocations: 62.78 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1915, allocations: 89.13 MB / 0.7238 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01157/0.2031, allocations: 8.5 MB / 0.7321 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6031/0.8062, allocations: 155.2 MB / 0.8837 GB, free: 1.555 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.808, allocations: 28.91 kB / 0.8837 GB, free: 1.555 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.809, allocations: 327.5 kB / 0.884 GB, free: 1.555 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.812, allocations: 0.8764 MB / 0.8849 GB, free: 1.539 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.8151, allocations: 1.396 MB / 0.8862 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005152/0.8202, allocations: 3.012 MB / 0.8892 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.8225, allocations: 1.01 MB / 0.8902 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.8257, allocations: 1.25 MB / 0.8914 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.8288, allocations: 1.363 MB / 0.8927 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.8303, allocations: 327.2 kB / 0.893 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.8331, allocations: 0.7332 MB / 0.8938 GB, free: 17.31 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009393/0.834, allocations: 0.7024 MB / 0.8944 GB, free: 17.31 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.8365, allocations: 1.349 MB / 0.8958 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.8415, allocations: 3.719 MB / 0.8994 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.8415, allocations: 3.562 kB / 0.8994 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8415, allocations: 0 / 0.8994 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.076e-05/0.8416, allocations: 1.469 kB / 0.8994 GB, free: 16.59 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.00733/0.8489, allocations: 2.93 MB / 0.9023 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8489, allocations: 10.5 kB / 0.9023 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.337e-05/0.849, allocations: 60.75 kB / 0.9023 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003747/0.8494, allocations: 317.5 kB / 0.9026 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04424/0.8936, allocations: 6.907 MB / 0.9094 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.8971, allocations: 1.439 MB / 0.9108 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.8972, allocations: 167.4 kB / 0.9109 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009581/0.8982, allocations: 217.7 kB / 0.9111 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/0.9205, allocations: 5.942 MB / 0.9169 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/0.9205, allocations: 0 / 0.9169 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004087/0.9209, allocations: 95.17 kB / 0.917 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.921, allocations: 53.81 kB / 0.9171 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03709/0.9581, allocations: 9.199 MB / 0.9261 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03758/0.9957, allocations: 15.67 MB / 0.9414 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02222/1.018, allocations: 5.215 MB / 0.9465 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01736/1.035, allocations: 3.855 MB / 0.9502 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/1.035, allocations: 79.05 kB / 0.9503 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01899/1.054, allocations: 4.469 MB / 0.9547 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 4.058e-06/1.054, allocations: 0 / 0.9547 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.05471/1.109, allocations: 11.58 MB / 0.966 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/1.109, allocations: 205.9 kB / 0.9662 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/1.111, allocations: 0.9736 MB / 0.9671 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007145/1.112, allocations: 65.7 kB / 0.9672 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/1.112, allocations: 0.7679 MB / 0.9679 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.114, allocations: 0.7116 MB / 0.9686 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/1.115, allocations: 399.2 kB / 0.969 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.115, allocations: 301.1 kB / 0.9693 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01728/1.132, allocations: 3.739 MB / 0.973 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0176/1.15, allocations: 3.933 MB / 0.9768 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.032/1.182, allocations: 6.748 MB / 0.9834 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/1.182, allocations: 2.25 kB / 0.9834 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03702/1.219, allocations: 7.681 MB / 0.9909 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/1.219, allocations: 8 kB / 0.9909 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.219, allocations: 0 / 0.9909 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/1.22, allocations: 84.83 kB / 0.991 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/1.23, allocations: 1.544 MB / 0.9925 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/1.233, allocations: 1.641 MB / 0.9941 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00943/1.243, allocations: 1.279 MB / 0.9953 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008849/1.243, allocations: 107.9 kB / 0.9954 GB, free: 6.602 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.002188/1.246, allocations: 439 kB / 0.9959 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.247, allocations: 169 kB / 0.996 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04098/1.288, allocations: 8.49 MB / 1.004 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-05/1.288, allocations: 24 kB / 1.004 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.288, allocations: 0 / 1.004 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.949e-05/1.288, allocations: 11.95 kB / 1.004 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/1.296, allocations: 5.257 MB / 1.009 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/1.296, allocations: 0 / 1.009 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01031/1.306, allocations: 1.513 MB / 1.011 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005911/1.307, allocations: 80.78 kB / 1.011 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/1.308, allocations: 83.89 kB / 1.011 GB, free: 5.648 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/1.31, allocations: 1.656 MB / 1.013 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.31, allocations: 0 / 1.013 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03723/1.348, allocations: 7.827 MB / 1.02 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.35, allocations: 0.6786 MB / 1.021 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.351, allocations: 55.83 kB / 1.021 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00948/1.36, allocations: 1.197 MB / 1.022 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007278/1.361, allocations: 149.8 kB / 1.022 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009303/1.362, allocations: 104 kB / 1.023 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001697/1.364, allocations: 0.7198 MB / 1.023 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/1.364, allocations: 0 / 1.023 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003417/1.367, allocations: 0.7523 MB / 1.024 GB, free: 8.328 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.0409/1.408, allocations: 8.924 MB / 1.033 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0374/1.446, allocations: 8.01 MB / 1.04 GB, free: 7.617 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.446, allocations: 4 kB / 1.04 GB, free: 7.613 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0191/1.465, allocations: 4.136 MB / 1.045 GB, free: 3.512 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/1.468, allocations: 396.5 kB / 1.045 GB, free: 3.145 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1261/1.594, allocations: 30.76 MB / 1.075 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/1.596, allocations: 1.442 MB / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005352/1.601, allocations: 0.7107 MB / 1.077 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003239/1.605, allocations: 0.9091 MB / 1.078 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of SimCode: time 1.383e-06/1.605, allocations: 0 / 1.078 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.714, allocations: 50.92 MB / 1.128 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/18.43, allocations: 13.91 kB / 1.128 GB, free: 14.58 MB / 0.8887 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.891352108039428] Failed to read output from testmodel.py, exit status != 0: 18.71101213298971 18.740293929 17.89342076 Calling exit ...