Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001318/0.001318, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001583/0.001583, allocations: 215.4 kB / 23.78 MB, free: 4.523 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.03/1.03, allocations: 150 MB / 464 MB, free: 10.2 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001979/0.001979, allocations: 65.59 kB / 0.6419 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.191, allocations: 89.18 MB / 0.729 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007253/0.1983, allocations: 4.451 MB / 0.7334 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.569/0.7672, allocations: 132.6 MB / 0.8629 GB, free: 12 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.7684, allocations: 27.81 kB / 0.8629 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009847/0.7693, allocations: 196.3 kB / 0.8631 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.7723, allocations: 0.5844 MB / 0.8637 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.7757, allocations: 0.874 MB / 0.8645 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002422/0.7781, allocations: 1.449 MB / 0.8659 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.7793, allocations: 419.4 kB / 0.8663 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.7806, allocations: 0.5218 MB / 0.8669 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.7817, allocations: 0.5387 MB / 0.8674 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003958/0.7821, allocations: 120 kB / 0.8675 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.7834, allocations: 0.5035 MB / 0.868 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.784, allocations: 307 kB / 0.8683 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.785, allocations: 481.6 kB / 0.8687 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.7883, allocations: 1.73 MB / 0.8704 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7883, allocations: 4 kB / 0.8704 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7883, allocations: 0 / 0.8704 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.074e-05/0.7884, allocations: 0 / 0.8704 GB, free: 4.293 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003891/0.7923, allocations: 1.444 MB / 0.8718 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.7923, allocations: 8.031 kB / 0.8718 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.389e-05/0.7924, allocations: 26.19 kB / 0.8719 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.7926, allocations: 141 kB / 0.872 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.7944, allocations: 256 kB / 0.8723 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.7958, allocations: 0.7267 MB / 0.873 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.7959, allocations: 66 kB / 0.873 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.796, allocations: 84 kB / 0.8731 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.798, allocations: 1.193 MB / 0.8743 GB, free: 192 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.798, allocations: 0 / 0.8743 GB, free: 192 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/0.7981, allocations: 43.98 kB / 0.8743 GB, free: 148 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.7981, allocations: 20 kB / 0.8743 GB, free: 128 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.8001, allocations: 1.12 MB / 0.8754 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.8044, allocations: 2.261 MB / 0.8776 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.806, allocations: 0.7742 MB / 0.8784 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.8066, allocations: 290.7 kB / 0.8787 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.038e-05/0.8067, allocations: 20.64 kB / 0.8787 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.8077, allocations: 0.6268 MB / 0.8793 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 3.035e-06/0.8077, allocations: 0 / 0.8793 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.003629/0.8114, allocations: 1.18 MB / 0.8805 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.8115, allocations: 196.9 kB / 0.8806 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.8125, allocations: 0.6684 MB / 0.8813 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/0.8126, allocations: 45.7 kB / 0.8813 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.813, allocations: 413.1 kB / 0.8817 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.8133, allocations: 281.7 kB / 0.882 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.8136, allocations: 158.6 kB / 0.8821 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003505/0.8139, allocations: 386.8 kB / 0.8825 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.8145, allocations: 253.9 kB / 0.8828 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008206/0.8153, allocations: 499.1 kB / 0.8832 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.8165, allocations: 0.6047 MB / 0.8838 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8165, allocations: 2.5 kB / 0.8838 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002162/0.8187, allocations: 0.8374 MB / 0.8846 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.8187, allocations: 4 kB / 0.8846 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.8187, allocations: 7.938 kB / 0.8847 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.8194, allocations: 80.88 kB / 0.8847 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/0.8201, allocations: 155.8 kB / 0.8849 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.8223, allocations: 1.519 MB / 0.8864 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/0.8231, allocations: 96.02 kB / 0.8865 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.8232, allocations: 36.05 kB / 0.8865 GB, free: 3.273 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0005635/0.8238, allocations: 275.6 kB / 0.8868 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.824, allocations: 87.44 kB / 0.8868 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.8269, allocations: 1.145 MB / 0.888 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.8269, allocations: 11.94 kB / 0.888 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.8269, allocations: 0 / 0.888 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.8269, allocations: 4.484 kB / 0.888 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.8307, allocations: 1.876 MB / 0.8898 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8307, allocations: 0 / 0.8898 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.8314, allocations: 155.9 kB / 0.89 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.8319, allocations: 76.78 kB / 0.89 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.8319, allocations: 27.92 kB / 0.8901 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.834, allocations: 1.555 MB / 0.8916 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.834, allocations: 0 / 0.8916 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.8364, allocations: 1.057 MB / 0.8926 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.8369, allocations: 211 kB / 0.8928 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.837, allocations: 20 kB / 0.8928 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.8378, allocations: 72.91 kB / 0.8929 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.8379, allocations: 80.84 kB / 0.893 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/0.838, allocations: 35.97 kB / 0.893 GB, free: 12.39 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006842/0.8387, allocations: 487 kB / 0.8935 GB, free: 11.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8387, allocations: 0 / 0.8935 GB, free: 11.92 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009855/0.8397, allocations: 331.2 kB / 0.8938 GB, free: 11.6 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004595/0.8443, allocations: 2.153 MB / 0.8959 GB, free: 9.664 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.8462, allocations: 0.7999 MB / 0.8967 GB, free: 8.852 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8462, allocations: 0 / 0.8967 GB, free: 8.852 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.8472, allocations: 0.512 MB / 0.8972 GB, free: 8.328 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.8486, allocations: 304.5 kB / 0.8975 GB, free: 8.055 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.8603, allocations: 6.477 MB / 0.9038 GB, free: 1.426 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.8608, allocations: 457.3 kB / 0.9042 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009067/0.8617, allocations: 271 kB / 0.9045 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006444/0.8624, allocations: 419.2 kB / 0.9049 GB, free: 272 kB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/0.8624, allocations: 0 / 0.9049 GB, free: 272 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06392/0.9263, allocations: 23.97 MB / 0.9283 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.74, allocations: 26.36 kB / 0.9283 GB, free: 8.602 MB / 0.7012 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.873667792999186] Failed to read output from testmodel.py, exit status != 0: 16.02504785300698 16.043619544 15.2516442 Calling exit ...