Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.000792/0.000792, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007883/0.0007883, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9052/0.9052, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5565/0.5565, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.368e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006899/0.006923, allocations: 4.67 MB / 0.5587 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.3794/0.3863, allocations: 132.8 MB / 0.6885 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009119/0.3872, allocations: 24.19 kB / 0.6885 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.3878, allocations: 214.5 kB / 0.6887 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.3895, allocations: 0.6012 MB / 0.6893 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.391, allocations: 0.9068 MB / 0.6902 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.3923, allocations: 1.541 MB / 0.6917 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006028/0.3929, allocations: 454.9 kB / 0.6921 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.3938, allocations: 0.8075 MB / 0.6929 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.3942, allocations: 445.9 kB / 0.6933 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3943, allocations: 133.5 kB / 0.6934 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007607/0.395, allocations: 0.518 MB / 0.6939 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.3952, allocations: 342.6 kB / 0.6943 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.3955, allocations: 431.5 kB / 0.6947 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3973, allocations: 1.945 MB / 0.6966 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3973, allocations: 1.203 kB / 0.6966 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3973, allocations: 4 kB / 0.6966 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.991e-05/0.3973, allocations: 0 / 0.6966 GB, free: 41.07 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001903/0.3992, allocations: 1.504 MB / 0.6981 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3993, allocations: 12.5 kB / 0.6981 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.3994, allocations: 151.7 kB / 0.6982 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/0.4045, allocations: 1.804 MB / 0.7 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.4056, allocations: 0.78 MB / 0.7007 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.4057, allocations: 70.81 kB / 0.7008 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.4058, allocations: 106.4 kB / 0.7009 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/0.4089, allocations: 2.152 MB / 0.703 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4089, allocations: 0 / 0.703 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.409, allocations: 39.03 kB / 0.703 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.409, allocations: 22.94 kB / 0.7031 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.4137, allocations: 2.763 MB / 0.7058 GB, free: 39.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/0.4192, allocations: 4.84 MB / 0.7105 GB, free: 36.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.4221, allocations: 1.648 MB / 0.7121 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.4242, allocations: 1.117 MB / 0.7132 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/0.4242, allocations: 32.72 kB / 0.7132 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002624/0.4269, allocations: 1.477 MB / 0.7147 GB, free: 36.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=90): time 2.775e-06/0.4269, allocations: 0.5625 kB / 0.7147 GB, free: 36.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90): time 0.008547/0.4354, allocations: 3.529 MB / 0.7181 GB, free: 35.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.4355, allocations: 199.5 kB / 0.7183 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.4362, allocations: 0.6731 MB / 0.719 GB, free: 35.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.4364, allocations: 46.36 kB / 0.719 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.4366, allocations: 440.6 kB / 0.7194 GB, free: 35.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.4368, allocations: 292.8 kB / 0.7197 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.437, allocations: 180.7 kB / 0.7199 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.4371, allocations: 395.4 kB / 0.7203 GB, free: 34.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.4395, allocations: 1.088 MB / 0.7213 GB, free: 34.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.442, allocations: 1.331 MB / 0.7226 GB, free: 34.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/0.4464, allocations: 2.008 MB / 0.7246 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4464, allocations: 0 / 0.7246 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005265/0.4517, allocations: 2.399 MB / 0.7269 GB, free: 34.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4517, allocations: 7.406 kB / 0.7269 GB, free: 34.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4517, allocations: 0 / 0.7269 GB, free: 34.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.452, allocations: 85.89 kB / 0.727 GB, free: 34.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.4534, allocations: 493.9 kB / 0.7275 GB, free: 34.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.4547, allocations: 1.52 MB / 0.729 GB, free: 32.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.4561, allocations: 418.1 kB / 0.7294 GB, free: 32.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/0.4561, allocations: 42.98 kB / 0.7294 GB, free: 32.74 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (101): * Single equations (assignments): 100 * 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.0004653/0.4566, allocations: 284.6 kB / 0.7297 GB, free: 32.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4568, allocations: 90.69 kB / 0.7298 GB, free: 32.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/0.4621, allocations: 2.676 MB / 0.7324 GB, free: 32.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4621, allocations: 11.59 kB / 0.7324 GB, free: 32.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4621, allocations: 0 / 0.7324 GB, free: 32.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4621, allocations: 9.047 kB / 0.7324 GB, free: 32.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006509/0.4686, allocations: 4.438 MB / 0.7367 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4686, allocations: 1.094 kB / 0.7367 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.4698, allocations: 476.7 kB / 0.7372 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/0.4701, allocations: 81.39 kB / 0.7373 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.4701, allocations: 33.05 kB / 0.7373 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009722/0.4711, allocations: 1.543 MB / 0.7388 GB, free: 29.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4711, allocations: 3.188 kB / 0.7388 GB, free: 29.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.476, allocations: 2.56 MB / 0.7413 GB, free: 29.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.4764, allocations: 239.1 kB / 0.7415 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.4766, allocations: 22.44 kB / 0.7415 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.4777, allocations: 384 kB / 0.7419 GB, free: 29.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4778, allocations: 79.16 kB / 0.742 GB, free: 29.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.4779, allocations: 39.55 kB / 0.742 GB, free: 29.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004995/0.4784, allocations: 488 kB / 0.7425 GB, free: 29.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4784, allocations: 0 / 0.7425 GB, free: 29.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001198/0.4796, allocations: 385 kB / 0.7429 GB, free: 29.05 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.006522/0.4861, allocations: 3.665 MB / 0.7464 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004791/0.4909, allocations: 2.469 MB / 0.7489 GB, free: 27.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4909, allocations: 1.094 kB / 0.7489 GB, free: 27.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.4933, allocations: 1.324 MB / 0.7501 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.4942, allocations: 317.5 kB / 0.7504 GB, free: 27.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.5121, allocations: 11.56 MB / 0.7617 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.5125, allocations: 465.5 kB / 0.7622 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009487/0.5134, allocations: 320.5 kB / 0.7625 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.514, allocations: 431 kB / 0.7629 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of SimCode: time 2.094e-06/0.514, allocations: 0 / 0.7629 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/0.5574, allocations: 27.4 MB / 0.7897 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.68/9.237, allocations: 0 / 0.7897 GB, free: 7.57 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.809686343185604] Failed to read output from testmodel.py, exit status != 0: 9.400927107781172 9.407909324 9.008788297 Calling exit ...