Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001964/0.001964, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00255/0.00255, allocations: 213 kB / 22.99 MB, free: 4.977 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9898/0.9898, allocations: 149.9 MB / 463 MB, free: 10.34 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.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",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.003147/0.003147, allocations: 68.47 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.203, allocations: 89.17 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007014/0.21, allocations: 4.669 MB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5451/0.7552, allocations: 132.7 MB / 0.8623 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007751/0.7559, allocations: 23.81 kB / 0.8624 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.7566, allocations: 212.4 kB / 0.8626 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.7587, allocations: 0.5797 MB / 0.8631 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.7611, allocations: 0.8812 MB / 0.864 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.7629, allocations: 1.487 MB / 0.8654 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008619/0.7638, allocations: 446.4 kB / 0.8659 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000751/0.7645, allocations: 0.5528 MB / 0.8664 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006853/0.7652, allocations: 0.501 MB / 0.8669 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.7654, allocations: 128 kB / 0.867 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.7665, allocations: 0.5039 MB / 0.8675 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.7668, allocations: 330.9 kB / 0.8678 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.7673, allocations: 0.4938 MB / 0.8683 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.7695, allocations: 1.815 MB / 0.8701 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.7695, allocations: 3.938 kB / 0.8701 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7695, allocations: 0 / 0.8701 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.7696, allocations: 0 / 0.8701 GB, free: 3.918 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002867/0.7724, allocations: 1.503 MB / 0.8715 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.7725, allocations: 15.95 kB / 0.8716 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.7727, allocations: 148.3 kB / 0.8717 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.7751, allocations: 371.8 kB / 0.8721 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.7766, allocations: 0.7386 MB / 0.8728 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.7767, allocations: 78.61 kB / 0.8729 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.7769, allocations: 92 kB / 0.8729 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.7792, allocations: 1.325 MB / 0.8742 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.7792, allocations: 0 / 0.8742 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/0.7793, allocations: 47.98 kB / 0.8743 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.7793, allocations: 24 kB / 0.8743 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.7819, allocations: 1.221 MB / 0.8755 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.787, allocations: 2.415 MB / 0.8779 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.7898, allocations: 0.9026 MB / 0.8787 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/0.7906, allocations: 335.5 kB / 0.8791 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.61e-05/0.7906, allocations: 24.64 kB / 0.8791 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.7919, allocations: 0.6617 MB / 0.8797 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 2.805e-06/0.7919, allocations: 4 kB / 0.8797 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004193/0.7961, allocations: 1.309 MB / 0.881 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.7962, allocations: 196.9 kB / 0.8812 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.7972, allocations: 0.6607 MB / 0.8818 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.22e-05/0.7973, allocations: 49.45 kB / 0.8819 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.7978, allocations: 437 kB / 0.8823 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.798, allocations: 289.5 kB / 0.8826 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.7983, allocations: 154.6 kB / 0.8827 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.7985, allocations: 390.7 kB / 0.8831 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007769/0.7993, allocations: 301.8 kB / 0.8834 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.8003, allocations: 0.538 MB / 0.8839 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.8019, allocations: 0.6906 MB / 0.8846 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8019, allocations: 0.9375 kB / 0.8846 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002653/0.8046, allocations: 0.9233 MB / 0.8855 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.8046, allocations: 7.984 kB / 0.8855 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8046, allocations: 4 kB / 0.8855 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/0.8052, allocations: 84.81 kB / 0.8856 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.8061, allocations: 179.7 kB / 0.8858 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.8084, allocations: 1.514 MB / 0.8872 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.8093, allocations: 115.7 kB / 0.8873 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.8094, allocations: 35.61 kB / 0.8874 GB, free: 1.645 MB / 0.6544 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 (90): * Single equations (assignments): 89 * 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.0005211/0.8099, allocations: 269.7 kB / 0.8876 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.8101, allocations: 99.38 kB / 0.8877 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.8132, allocations: 1.203 MB / 0.8889 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.8132, allocations: 12 kB / 0.8889 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.8132, allocations: 0 / 0.8889 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.8132, allocations: 7.984 kB / 0.8889 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/0.8174, allocations: 1.991 MB / 0.8909 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.8174, allocations: 0 / 0.8909 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007827/0.8182, allocations: 179.7 kB / 0.891 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/0.8187, allocations: 76.78 kB / 0.8911 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-05/0.8187, allocations: 27.97 kB / 0.8911 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.8208, allocations: 1.547 MB / 0.8927 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8208, allocations: 0 / 0.8927 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.8236, allocations: 1.131 MB / 0.8938 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005471/0.8242, allocations: 211.1 kB / 0.894 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.8243, allocations: 16 kB / 0.894 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.8251, allocations: 89.66 kB / 0.8941 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.8253, allocations: 84.94 kB / 0.8941 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-05/0.8254, allocations: 43.95 kB / 0.8942 GB, free: 10.47 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000762/0.8262, allocations: 487 kB / 0.8946 GB, free: 10 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8262, allocations: 0 / 0.8946 GB, free: 10 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001146/0.8273, allocations: 347 kB / 0.895 GB, free: 9.66 MB / 0.67 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 (97): * Single equations (assignments): 91 * 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.00515/0.8324, allocations: 2.219 MB / 0.8971 GB, free: 7.656 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.8348, allocations: 0.8899 MB / 0.898 GB, free: 6.758 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8348, allocations: 8 kB / 0.898 GB, free: 6.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.836, allocations: 0.5431 MB / 0.8986 GB, free: 6.191 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.8375, allocations: 307.5 kB / 0.8988 GB, free: 5.922 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.8507, allocations: 6.832 MB / 0.9055 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.8513, allocations: 466.3 kB / 0.906 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001003/0.8523, allocations: 283 kB / 0.9062 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006687/0.853, allocations: 431.3 kB / 0.9066 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of SimCode: time 1.082e-06/0.853, allocations: 0 / 0.9066 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06761/0.9206, allocations: 24.67 MB / 0.9307 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.97, allocations: 6.859 kB / 0.9307 GB, free: 5.363 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.02884257491678] Failed to read output from testmodel.py, exit status != 0: 15.204339374322444 15.229847295 14.455933733 Calling exit ...