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.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.001266/0.001266, allocations: 112.7 kB / 17.08 MB, free: 5.332 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.001263/0.001263, allocations: 191.7 kB / 20.03 MB, free: 2.777 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.42/1.42, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8158/0.8158, allocations: 126.7 MB / 424.6 MB, free: 6.234 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.88 kB / 0.582 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4279, allocations: 78.86 MB / 0.659 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008792/0.4367, allocations: 8.426 MB / 0.6673 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.6102, allocations: 151.8 MB / 0.8155 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.612, allocations: 23.94 kB / 0.8156 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009618/0.613, allocations: 328.6 kB / 0.8159 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.6158, allocations: 0.8598 MB / 0.8167 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.6189, allocations: 1.387 MB / 0.8181 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003952/0.6228, allocations: 2.99 MB / 0.821 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.6249, allocations: 1.492 MB / 0.8224 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.6266, allocations: 1.184 MB / 0.8236 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.6284, allocations: 1.35 MB / 0.8249 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004871/0.6289, allocations: 324 kB / 0.8252 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.6303, allocations: 0.6988 MB / 0.8259 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000646/0.631, allocations: 0.6971 MB / 0.8266 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.6324, allocations: 1.345 MB / 0.8279 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004562/0.637, allocations: 3.682 MB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.637, allocations: 0 / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.814e-06/0.637, allocations: 0 / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.078e-05/0.6371, allocations: 0 / 0.8315 GB, free: 12.64 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.006786/0.6439, allocations: 2.897 MB / 0.8343 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.644, allocations: 12.03 kB / 0.8343 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000406/0.6444, allocations: 316.9 kB / 0.8346 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/0.6599, allocations: 2.133 MB / 0.8367 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.6628, allocations: 1.287 MB / 0.838 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.6631, allocations: 168.5 kB / 0.8381 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/0.6635, allocations: 216 kB / 0.8383 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009472/0.673, allocations: 3.286 MB / 0.8415 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.6731, allocations: 0 / 0.8415 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/0.6734, allocations: 95.98 kB / 0.8416 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.6734, allocations: 56 kB / 0.8417 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.6874, allocations: 4.197 MB / 0.8458 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.7055, allocations: 8.155 MB / 0.8538 GB, free: 5.281 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.7156, allocations: 2.888 MB / 0.8566 GB, free: 2.398 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005298/0.721, allocations: 1.495 MB / 0.858 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009901/0.722, allocations: 0.5033 MB / 0.8585 GB, free: 308 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005917/0.7279, allocations: 1.851 MB / 0.8603 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 4.668e-06/0.728, allocations: 0 / 0.8603 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.0166/0.7446, allocations: 4.486 MB / 0.8647 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.7448, allocations: 201.9 kB / 0.8649 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.7463, allocations: 0.9413 MB / 0.8658 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003846/0.7467, allocations: 69.69 kB / 0.8659 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007521/0.7474, allocations: 0.7602 MB / 0.8666 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008595/0.7483, allocations: 0.7203 MB / 0.8673 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007894/0.7491, allocations: 375.3 kB / 0.8677 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7492, allocations: 301.1 kB / 0.868 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004546/0.7538, allocations: 1.237 MB / 0.8692 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/0.7587, allocations: 1.441 MB / 0.8706 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009541/0.7682, allocations: 2.583 MB / 0.8731 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.7683, allocations: 4 kB / 0.8731 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.3483/1.117, allocations: 3.075 MB / 0.8761 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.117, allocations: 5.969 kB / 0.8761 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.117, allocations: 5.156 kB / 0.8761 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/1.117, allocations: 92.41 kB / 0.8762 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003877/1.121, allocations: 0.5882 MB / 0.8768 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/1.123, allocations: 1.634 MB / 0.8784 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.126, allocations: 366.4 kB / 0.8787 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004653/1.127, allocations: 95.89 kB / 0.8788 GB, free: 194.4 MB / 0.6856 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.001178/1.128, allocations: 437.5 kB / 0.8793 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/1.129, allocations: 165.2 kB / 0.8794 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.141, allocations: 3.712 MB / 0.883 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-05/1.141, allocations: 26.31 kB / 0.8831 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.141, allocations: 0 / 0.8831 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/1.141, allocations: 16.25 kB / 0.8831 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/1.145, allocations: 2.448 MB / 0.8855 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.145, allocations: 2.156 kB / 0.8855 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/1.149, allocations: 0.5593 MB / 0.886 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/1.149, allocations: 76.78 kB / 0.8861 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/1.149, allocations: 71.84 kB / 0.8862 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/1.151, allocations: 1.669 MB / 0.8878 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.151, allocations: 4.641 kB / 0.8878 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.161, allocations: 3.218 MB / 0.8909 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.162, allocations: 0.5517 MB / 0.8915 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/1.163, allocations: 50.77 kB / 0.8915 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/1.166, allocations: 268.4 kB / 0.8918 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000329/1.166, allocations: 158.6 kB / 0.8919 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/1.166, allocations: 94.8 kB / 0.892 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008717/1.167, allocations: 0.6976 MB / 0.8927 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.61e-07/1.167, allocations: 0 / 0.8927 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001748/1.169, allocations: 0.6825 MB / 0.8934 GB, free: 188.1 MB / 0.6856 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.01189/1.181, allocations: 4.34 MB / 0.8976 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009801/1.191, allocations: 3.137 MB / 0.9007 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.191, allocations: 0 / 0.9007 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/1.196, allocations: 1.754 MB / 0.9024 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.198, allocations: 396.8 kB / 0.9028 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/1.238, allocations: 15.9 MB / 0.9183 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/1.239, allocations: 1.431 MB / 0.9197 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002986/1.242, allocations: 0.5792 MB / 0.9203 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.243, allocations: 0.8783 MB / 0.9211 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.222e-06/1.243, allocations: 0 / 0.9211 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06955/1.313, allocations: 42.82 MB / 0.9629 GB, free: 130.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.52, allocations: 18.28 kB / 0.9629 GB, free: 130.7 MB / 0.6856 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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: 20.242784592090175] Failed to read output from testmodel.py, exit status != 0: 16.73196803301107 16.748902255 16.108603171 Calling exit ...