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.001161/0.001161, allocations: 109 kB / 20.48 MB, free: 1.473 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.001464/0.001464, allocations: 215.4 kB / 23.79 MB, free: 4.684 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.479/1.479, allocations: 230.6 MB / 257.6 MB, free: 8.012 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.9645/0.9645, allocations: 150 MB / 464 MB, free: 10.48 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.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.003188/0.003188, allocations: 66.25 kB / 0.642 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.212, allocations: 89.17 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007934/0.2199, allocations: 5.255 MB / 0.7342 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5496/0.7695, allocations: 154.2 MB / 0.8849 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007982/0.7703, allocations: 23.81 kB / 0.8849 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.7709, allocations: 209.1 kB / 0.8851 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.7727, allocations: 0.59 MB / 0.8857 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.7747, allocations: 0.9031 MB / 0.8865 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.7765, allocations: 1.48 MB / 0.888 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.7773, allocations: 480.6 kB / 0.8884 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007665/0.7781, allocations: 0.5373 MB / 0.889 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/0.7788, allocations: 0.564 MB / 0.8895 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.779, allocations: 128 kB / 0.8896 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.78, allocations: 0.5387 MB / 0.8902 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.7804, allocations: 319 kB / 0.8905 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006018/0.781, allocations: 0.6141 MB / 0.8911 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.7834, allocations: 1.807 MB / 0.8928 GB, free: 15.58 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7834, allocations: 4 kB / 0.8928 GB, free: 15.58 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7834, allocations: 3.938 kB / 0.8928 GB, free: 15.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.7834, allocations: 0 / 0.8928 GB, free: 15.57 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00294/0.7864, allocations: 1.5 MB / 0.8943 GB, free: 14.04 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.7864, allocations: 12.03 kB / 0.8943 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.495e-05/0.7864, allocations: 26.17 kB / 0.8943 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.7866, allocations: 152.1 kB / 0.8945 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.7978, allocations: 1.799 MB / 0.8962 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.7995, allocations: 0.7696 MB / 0.897 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.7995, allocations: 74 kB / 0.8971 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.7997, allocations: 92 kB / 0.8972 GB, free: 11.08 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/0.806, allocations: 1.875 MB / 0.899 GB, free: 9.168 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.8061, allocations: 7.938 kB / 0.899 GB, free: 9.16 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.8062, allocations: 40 kB / 0.899 GB, free: 9.121 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.8062, allocations: 28 kB / 0.8991 GB, free: 9.094 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.8166, allocations: 2.79 MB / 0.9018 GB, free: 6.297 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.8274, allocations: 5.338 MB / 0.907 GB, free: 204 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006078/0.8335, allocations: 1.594 MB / 0.9086 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004719/0.8382, allocations: 1.092 MB / 0.9096 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.8383, allocations: 40.67 kB / 0.9097 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005368/0.8437, allocations: 1.351 MB / 0.911 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.464e-06/0.8437, allocations: 0 / 0.911 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.01566/0.8594, allocations: 3.468 MB / 0.9144 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.8595, allocations: 196.6 kB / 0.9146 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.8606, allocations: 0.6685 MB / 0.9152 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.8608, allocations: 45.7 kB / 0.9152 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.8612, allocations: 441 kB / 0.9157 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.8616, allocations: 277.6 kB / 0.9159 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.8619, allocations: 154.6 kB / 0.9161 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.8621, allocations: 394.7 kB / 0.9165 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004693/0.8668, allocations: 1.06 MB / 0.9175 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004807/0.8716, allocations: 1.17 MB / 0.9186 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008562/0.8802, allocations: 1.969 MB / 0.9206 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8802, allocations: 0 / 0.9206 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01013/0.8903, allocations: 2.34 MB / 0.9228 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.8904, allocations: 4 kB / 0.9228 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8904, allocations: 0 / 0.9228 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.891, allocations: 88.73 kB / 0.9229 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.8936, allocations: 483.5 kB / 0.9234 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.896, allocations: 1.523 MB / 0.9249 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.8988, allocations: 419.2 kB / 0.9253 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.8989, allocations: 31.97 kB / 0.9253 GB, free: 13.14 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0006015/0.8995, allocations: 266.2 kB / 0.9256 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.8997, allocations: 91.38 kB / 0.9257 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.9106, allocations: 2.651 MB / 0.9282 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.9106, allocations: 12 kB / 0.9283 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.9106, allocations: 0.875 kB / 0.9283 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.9106, allocations: 7.984 kB / 0.9283 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.9239, allocations: 4.418 MB / 0.9326 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.9239, allocations: 0 / 0.9326 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/0.9266, allocations: 475.4 kB / 0.933 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.927, allocations: 72.78 kB / 0.9331 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.9271, allocations: 32.03 kB / 0.9331 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.9292, allocations: 1.559 MB / 0.9347 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9292, allocations: 3.984 kB / 0.9347 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.9393, allocations: 2.517 MB / 0.9371 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.94, allocations: 239.1 kB / 0.9373 GB, free: 304 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.9403, allocations: 23.98 kB / 0.9374 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/0.9429, allocations: 385.2 kB / 0.9377 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.9431, allocations: 72.86 kB / 0.9378 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.9432, allocations: 51.89 kB / 0.9378 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008392/0.9441, allocations: 483 kB / 0.9383 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9441, allocations: 0 / 0.9383 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001225/0.9453, allocations: 375.1 kB / 0.9387 GB, free: 14.94 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.01262/0.9579, allocations: 3.576 MB / 0.9422 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01018/0.9681, allocations: 2.42 MB / 0.9445 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9681, allocations: 4 kB / 0.9445 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005184/0.9733, allocations: 1.312 MB / 0.9458 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.9749, allocations: 309.1 kB / 0.9461 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03787/1.013, allocations: 11.3 MB / 0.9571 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009902/1.014, allocations: 1.051 MB / 0.9582 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001269/1.015, allocations: 318.9 kB / 0.9585 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008382/1.016, allocations: 423.2 kB / 0.9589 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.016, allocations: 4 kB / 0.9589 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06632/1.082, allocations: 25.53 MB / 0.9838 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.84, allocations: 3.562 kB / 0.9838 GB, free: 0.9414 MB / 0.7481 GB " [Timeout remaining time 644] (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: 19.917398905963637] Failed to read output from testmodel.py, exit status != 0: 16.127412172034383 16.142435768 15.355634336 Calling exit ...