Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001271/0.001271, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001416/0.001416, allocations: 215.9 kB / 23.04 MB, free: 5.074 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.8251/0.8251, allocations: 134 MB / 447.2 MB, free: 10.21 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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001925/0.001925, allocations: 70.42 kB / 0.6193 GB, free: 7.195 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1843, allocations: 85.91 MB / 0.7032 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006146/0.1904, allocations: 4.235 MB / 0.7073 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5618/0.7522, allocations: 154 MB / 0.8577 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009335/0.7532, allocations: 27.81 kB / 0.8578 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000821/0.754, allocations: 166.5 kB / 0.8579 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.7561, allocations: 498.3 kB / 0.8584 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.7584, allocations: 0.8495 MB / 0.8592 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001817/0.7602, allocations: 1.219 MB / 0.8604 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.7612, allocations: 0.5009 MB / 0.8609 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008697/0.7621, allocations: 486.3 kB / 0.8614 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008369/0.7629, allocations: 493.8 kB / 0.8618 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.7633, allocations: 116 kB / 0.8619 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.7645, allocations: 0.5085 MB / 0.8624 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.7649, allocations: 299 kB / 0.8627 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.7657, allocations: 0.5323 MB / 0.8632 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.7684, allocations: 1.621 MB / 0.8648 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.7685, allocations: 7.984 kB / 0.8648 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7685, allocations: 0 / 0.8648 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.596e-05/0.7685, allocations: 0 / 0.8648 GB, free: 0.9883 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003341/0.7719, allocations: 1.366 MB / 0.8662 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.7719, allocations: 12.03 kB / 0.8662 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.257e-05/0.7719, allocations: 22.19 kB / 0.8662 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.7722, allocations: 143.8 kB / 0.8663 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.7741, allocations: 275.9 kB / 0.8666 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.7756, allocations: 0.7017 MB / 0.8673 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.7756, allocations: 66 kB / 0.8674 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.7758, allocations: 84 kB / 0.8674 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.7776, allocations: 0.9487 MB / 0.8684 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.7776, allocations: 0 / 0.8684 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.142e-05/0.7777, allocations: 36 kB / 0.8684 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.7777, allocations: 24 kB / 0.8684 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.7798, allocations: 1.128 MB / 0.8695 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.7843, allocations: 2.407 MB / 0.8719 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.7865, allocations: 0.7646 MB / 0.8726 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.7871, allocations: 262.3 kB / 0.8729 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.241e-05/0.7872, allocations: 36.62 kB / 0.8729 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008498/0.788, allocations: 431.3 kB / 0.8733 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.788, allocations: 0 / 0.8733 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003063/0.7911, allocations: 1.03 MB / 0.8743 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.7912, allocations: 188.6 kB / 0.8745 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/0.7922, allocations: 0.6214 MB / 0.8751 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.7922, allocations: 41.7 kB / 0.8751 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.7926, allocations: 420.9 kB / 0.8755 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.7929, allocations: 253.8 kB / 0.8758 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.7931, allocations: 138.2 kB / 0.8759 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.7933, allocations: 378.7 kB / 0.8763 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.7938, allocations: 225.2 kB / 0.8765 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.7945, allocations: 330.7 kB / 0.8768 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.7956, allocations: 0.5355 MB / 0.8773 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.7956, allocations: 4 kB / 0.8773 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001946/0.7975, allocations: 0.7319 MB / 0.8781 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.7975, allocations: 4 kB / 0.8781 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7976, allocations: 0 / 0.8781 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.7982, allocations: 80.88 kB / 0.8781 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.7988, allocations: 139.8 kB / 0.8783 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.8011, allocations: 1.534 MB / 0.8798 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.8017, allocations: 89.73 kB / 0.8799 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.8018, allocations: 27.97 kB / 0.8799 GB, free: 1.137 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0004752/0.8023, allocations: 261.4 kB / 0.8801 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.8025, allocations: 79.48 kB / 0.8802 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.8049, allocations: 1.004 MB / 0.8812 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.8049, allocations: 15.92 kB / 0.8812 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.8049, allocations: 4 kB / 0.8812 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.805, allocations: 7.922 kB / 0.8812 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.8087, allocations: 1.884 MB / 0.883 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.8087, allocations: 0 / 0.883 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.8093, allocations: 147.8 kB / 0.8832 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/0.8097, allocations: 72.78 kB / 0.8833 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.8098, allocations: 19.98 kB / 0.8833 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.8119, allocations: 1.562 MB / 0.8848 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8119, allocations: 0 / 0.8848 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.8139, allocations: 0.9282 MB / 0.8857 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.8144, allocations: 191.1 kB / 0.8859 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.8145, allocations: 19.95 kB / 0.8859 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.8152, allocations: 55.94 kB / 0.886 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.8153, allocations: 56.89 kB / 0.886 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.8154, allocations: 31.97 kB / 0.8861 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006919/0.8161, allocations: 459 kB / 0.8865 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8161, allocations: 4 kB / 0.8865 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009472/0.817, allocations: 299.1 kB / 0.8868 GB, free: 9.859 MB / 0.6544 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 (85): * Single equations (assignments): 82 * 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.004289/0.8213, allocations: 1.966 MB / 0.8887 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.8231, allocations: 0.7236 MB / 0.8894 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.8231, allocations: 4 kB / 0.8894 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.8241, allocations: 468.5 kB / 0.8899 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.8256, allocations: 301.4 kB / 0.8901 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.8387, allocations: 6.145 MB / 0.8961 GB, free: 352 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008998/0.8396, allocations: 1.023 MB / 0.8971 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001031/0.8406, allocations: 262.3 kB / 0.8974 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/0.8413, allocations: 383.3 kB / 0.8978 GB, free: 14.66 MB / 0.67 GB Notification: Performance of SimCode: time 1.452e-06/0.8413, allocations: 3.938 kB / 0.8978 GB, free: 14.66 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05972/0.901, allocations: 21.3 MB / 0.9186 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.36, allocations: 0 / 0.9186 GB, free: 9.523 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.1240593920229] Failed to read output from testmodel.py, exit status != 0: 14.63767058996018 14.658109691 13.886176929 Calling exit ...