Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001724/0.001724, allocations: 116.1 kB / 17.17 MB, free: 6 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.002044/0.002044, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8516/0.8516, allocations: 133.9 MB / 443.5 MB, free: 13.81 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001965/0.001965, allocations: 67.22 kB / 0.6141 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 85.85 MB / 0.6979 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009302/0.1919, allocations: 4.985 MB / 0.7028 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1944/0.3863, allocations: 154.2 MB / 0.8534 GB, free: 15.19 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.3874, allocations: 27.81 kB / 0.8534 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.3881, allocations: 206 kB / 0.8536 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.39, allocations: 0.5776 MB / 0.8541 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.3923, allocations: 0.9496 MB / 0.8551 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.394, allocations: 1.569 MB / 0.8566 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.3953, allocations: 0.844 MB / 0.8574 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009178/0.3962, allocations: 0.7162 MB / 0.8581 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.397, allocations: 0.7517 MB / 0.8589 GB, free: 9.512 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.3972, allocations: 192 kB / 0.859 GB, free: 9.324 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.3984, allocations: 0.5816 MB / 0.8596 GB, free: 8.742 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.3988, allocations: 442.6 kB / 0.86 GB, free: 8.309 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006978/0.3995, allocations: 0.8161 MB / 0.8608 GB, free: 7.488 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.4023, allocations: 2.372 MB / 0.8631 GB, free: 5.109 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4023, allocations: 0 / 0.8631 GB, free: 5.109 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4023, allocations: 0 / 0.8631 GB, free: 5.109 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.4023, allocations: 0 / 0.8631 GB, free: 5.109 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003124/0.4054, allocations: 1.901 MB / 0.865 GB, free: 3.148 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4055, allocations: 9.703 kB / 0.865 GB, free: 3.141 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.544e-05/0.4055, allocations: 43.16 kB / 0.8651 GB, free: 3.098 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002639/0.4058, allocations: 215.6 kB / 0.8653 GB, free: 2.875 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/0.4087, allocations: 383.6 kB / 0.8656 GB, free: 2.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.4101, allocations: 0.9425 MB / 0.8665 GB, free: 1.512 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.4103, allocations: 136.7 kB / 0.8667 GB, free: 1.371 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.4105, allocations: 144 kB / 0.8668 GB, free: 1.23 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3402/0.7507, allocations: 1.457 MB / 0.8682 GB, free: 168.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.7507, allocations: 5.891 kB / 0.8682 GB, free: 168.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.7509, allocations: 59.75 kB / 0.8683 GB, free: 168.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.7509, allocations: 35.72 kB / 0.8683 GB, free: 168.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.7539, allocations: 1.492 MB / 0.8698 GB, free: 168.2 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006391/0.7602, allocations: 3.912 MB / 0.8736 GB, free: 166.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.7618, allocations: 0.8545 MB / 0.8744 GB, free: 166 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.7624, allocations: 331.2 kB / 0.8748 GB, free: 165.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.7625, allocations: 42.86 kB / 0.8748 GB, free: 165.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.7635, allocations: 0.5517 MB / 0.8753 GB, free: 165.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=93): time 2.595e-06/0.7635, allocations: 2.031 kB / 0.8753 GB, free: 165.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.003543/0.7671, allocations: 1.38 MB / 0.8767 GB, free: 165 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.7671, allocations: 191 kB / 0.8769 GB, free: 164.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.7683, allocations: 0.787 MB / 0.8776 GB, free: 164.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.7684, allocations: 42.86 kB / 0.8777 GB, free: 164.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.7688, allocations: 0.6031 MB / 0.8783 GB, free: 163.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.769, allocations: 323.2 kB / 0.8786 GB, free: 163.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.7694, allocations: 183.7 kB / 0.8788 GB, free: 163.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.7694, allocations: 337.9 kB / 0.8791 GB, free: 163.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.7701, allocations: 308 kB / 0.8794 GB, free: 163.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/0.7709, allocations: 433.3 kB / 0.8798 GB, free: 162.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.7724, allocations: 0.7404 MB / 0.8805 GB, free: 162.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7724, allocations: 0.5 kB / 0.8805 GB, free: 162.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002168/0.7746, allocations: 0.9799 MB / 0.8815 GB, free: 161.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.7746, allocations: 8.156 kB / 0.8815 GB, free: 161.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7746, allocations: 4.547 kB / 0.8815 GB, free: 161.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.7752, allocations: 81.34 kB / 0.8816 GB, free: 161.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.776, allocations: 189.8 kB / 0.8817 GB, free: 161.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.7777, allocations: 1.643 MB / 0.8833 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/0.7785, allocations: 99.89 kB / 0.8834 GB, free: 160.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.7785, allocations: 40 kB / 0.8835 GB, free: 160.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0005616/0.7791, allocations: 321.5 kB / 0.8838 GB, free: 159.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.7793, allocations: 110.9 kB / 0.8839 GB, free: 159.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.7819, allocations: 1.283 MB / 0.8851 GB, free: 159.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.7819, allocations: 11.75 kB / 0.8851 GB, free: 159.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7819, allocations: 0 / 0.8851 GB, free: 159.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.7819, allocations: 3.984 kB / 0.8852 GB, free: 159.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.7852, allocations: 2.517 MB / 0.8876 GB, free: 157.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7853, allocations: 0 / 0.8876 GB, free: 157.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.7859, allocations: 185.7 kB / 0.8878 GB, free: 157.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004122/0.7863, allocations: 75.16 kB / 0.8879 GB, free: 157.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.7864, allocations: 27.89 kB / 0.8879 GB, free: 157.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.7878, allocations: 1.683 MB / 0.8895 GB, free: 155.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7878, allocations: 4.031 kB / 0.8895 GB, free: 155.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.7896, allocations: 1.12 MB / 0.8906 GB, free: 154.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.7899, allocations: 327.2 kB / 0.8909 GB, free: 154.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.7901, allocations: 28 kB / 0.891 GB, free: 154.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.7907, allocations: 59.94 kB / 0.891 GB, free: 154 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.7909, allocations: 72.89 kB / 0.8911 GB, free: 154 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.7909, allocations: 39.97 kB / 0.8911 GB, free: 153.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005832/0.7915, allocations: 0.58 MB / 0.8917 GB, free: 153.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7915, allocations: 0 / 0.8917 GB, free: 153.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000903/0.7924, allocations: 406.7 kB / 0.8921 GB, free: 153 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003656/0.7961, allocations: 2.178 MB / 0.8942 GB, free: 151 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.7977, allocations: 0.9034 MB / 0.8951 GB, free: 150.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7977, allocations: 0 / 0.8951 GB, free: 150.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.7984, allocations: 0.547 MB / 0.8956 GB, free: 149.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.7996, allocations: 319.2 kB / 0.8959 GB, free: 149.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.8105, allocations: 8.02 MB / 0.9038 GB, free: 141.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.811, allocations: 1.177 MB / 0.9049 GB, free: 139.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008091/0.8118, allocations: 291.9 kB / 0.9052 GB, free: 139.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/0.8124, allocations: 0.5617 MB / 0.9057 GB, free: 139 MB / 0.67 GB Notification: Performance of SimCode: time 8.92e-07/0.8124, allocations: 4 kB / 0.9057 GB, free: 139 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0501/0.8625, allocations: 26.09 MB / 0.9312 GB, free: 113.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.19, allocations: 11.61 kB / 0.9312 GB, free: 113.2 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.138942782010417] Failed to read output from testmodel.py, exit status != 0: 14.736932083964348 14.460484697 14.056114077 Calling exit ...