Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001647/0.001647, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.002227/0.002227, allocations: 205.6 kB / 20.8 MB, free: 2.391 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.488/1.488, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 1.027/1.027, allocations: 150 MB / 460.2 MB, free: 5.684 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.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001949/0.001949, allocations: 65.56 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 89.13 MB / 0.7238 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008674/0.1794, allocations: 6.015 MB / 0.7297 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6786/0.858, allocations: 154.2 MB / 0.8803 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.8591, allocations: 26.69 kB / 0.8803 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006723/0.8597, allocations: 243.7 kB / 0.8806 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.8618, allocations: 0.6456 MB / 0.8812 GB, free: 1.984 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.8638, allocations: 0.8986 MB / 0.8821 GB, free: 1.977 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.8656, allocations: 1.668 MB / 0.8837 GB, free: 1.969 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008623/0.8664, allocations: 0.601 MB / 0.8843 GB, free: 1.867 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009431/0.8674, allocations: 0.6452 MB / 0.8849 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.8682, allocations: 0.6727 MB / 0.8856 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.8685, allocations: 156 kB / 0.8857 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.8697, allocations: 0.5455 MB / 0.8862 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.8701, allocations: 374.7 kB / 0.8866 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008753/0.8709, allocations: 0.7462 MB / 0.8873 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.8739, allocations: 2.095 MB / 0.8894 GB, free: 1.691 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.8739, allocations: 0 / 0.8894 GB, free: 1.691 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8739, allocations: 0 / 0.8894 GB, free: 1.691 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.663e-05/0.874, allocations: 0.7188 kB / 0.8894 GB, free: 1.691 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003933/0.8779, allocations: 1.801 MB / 0.8911 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/0.878, allocations: 10.06 kB / 0.8911 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001042/0.8781, allocations: 31.72 kB / 0.8912 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002578/0.8783, allocations: 179.6 kB / 0.8913 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.8803, allocations: 271.3 kB / 0.8916 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.8823, allocations: 0.8894 MB / 0.8925 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.8824, allocations: 89.62 kB / 0.8926 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.8826, allocations: 121.1 kB / 0.8927 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.885, allocations: 1.199 MB / 0.8938 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.8851, allocations: 1.344 kB / 0.8938 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.8852, allocations: 50.28 kB / 0.8939 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.8852, allocations: 28.88 kB / 0.8939 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.8874, allocations: 1.288 MB / 0.8952 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.8932, allocations: 3.717 MB / 0.8988 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.8947, allocations: 0.8223 MB / 0.8996 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.8952, allocations: 299.2 kB / 0.8999 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-05/0.8953, allocations: 32.16 kB / 0.8999 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008333/0.8961, allocations: 0.5202 MB / 0.9004 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=87): time 2.234e-06/0.8961, allocations: 4 kB / 0.9004 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87): time 0.003258/0.8993, allocations: 1.286 MB / 0.9017 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.8995, allocations: 199.5 kB / 0.9019 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009345/0.9004, allocations: 0.7568 MB / 0.9026 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.568e-05/0.9005, allocations: 40.73 kB / 0.9027 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.9009, allocations: 0.5362 MB / 0.9032 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.9011, allocations: 295.4 kB / 0.9035 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.9014, allocations: 160.1 kB / 0.9036 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9015, allocations: 337.9 kB / 0.9039 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.902, allocations: 269.7 kB / 0.9042 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.9026, allocations: 385.3 kB / 0.9046 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.9037, allocations: 0.6383 MB / 0.9052 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9037, allocations: 0 / 0.9052 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001965/0.9056, allocations: 0.8761 MB / 0.906 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.9057, allocations: 8.031 kB / 0.9061 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9057, allocations: 3.938 kB / 0.9061 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.9063, allocations: 81.66 kB / 0.9061 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.9069, allocations: 165.7 kB / 0.9063 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.9091, allocations: 1.635 MB / 0.9079 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00094/0.91, allocations: 104.8 kB / 0.908 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.9101, allocations: 30.31 kB / 0.908 GB, free: 11.27 MB / 0.6856 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 (96): * Single equations (assignments): 95 * 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.000529/0.9106, allocations: 300.2 kB / 0.9083 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.9108, allocations: 100.1 kB / 0.9084 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.9131, allocations: 1.118 MB / 0.9095 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.9132, allocations: 14.59 kB / 0.9095 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.9132, allocations: 0 / 0.9095 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.9132, allocations: 9.719 kB / 0.9095 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.9145, allocations: 1.077 MB / 0.9106 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9145, allocations: 0 / 0.9106 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006103/0.9151, allocations: 159.1 kB / 0.9107 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.9156, allocations: 77.25 kB / 0.9108 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.9156, allocations: 32.41 kB / 0.9108 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.9176, allocations: 1.652 MB / 0.9124 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9176, allocations: 4.062 kB / 0.9124 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.9197, allocations: 0.9973 MB / 0.9134 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.9202, allocations: 304.2 kB / 0.9137 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.9204, allocations: 19.78 kB / 0.9137 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.921, allocations: 59.23 kB / 0.9138 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.9212, allocations: 77.11 kB / 0.9139 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.9213, allocations: 41.69 kB / 0.9139 GB, free: 9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000735/0.922, allocations: 0.5345 MB / 0.9144 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.922, allocations: 0 / 0.9144 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001067/0.9231, allocations: 387.5 kB / 0.9148 GB, free: 8.836 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.004122/0.9272, allocations: 2.047 MB / 0.9168 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.929, allocations: 0.8281 MB / 0.9176 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.929, allocations: 0 / 0.9176 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009596/0.9299, allocations: 0.5092 MB / 0.9181 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.9314, allocations: 325.2 kB / 0.9184 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.9436, allocations: 7.145 MB / 0.9254 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009927/0.9446, allocations: 1.114 MB / 0.9265 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001315/0.9459, allocations: 282.1 kB / 0.9267 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/0.9467, allocations: 495.5 kB / 0.9272 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of SimCode: time 1.142e-06/0.9467, allocations: 0 / 0.9272 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/1.006, allocations: 24.62 MB / 0.9512 GB, free: 4.887 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.36, allocations: 3.938 kB / 0.9513 GB, free: 4.883 MB / 0.7013 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.619976980029605] Failed to read output from testmodel.py, exit status != 0: 15.62889868003549 15.65192429 14.773691641 Calling exit ...