Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007916/0.0007916, allocations: 109.3 kB / 18.93 MB, free: 1.273 MB / 13.93 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.0008762/0.0008762, allocations: 218.2 kB / 22.25 MB, free: 3.699 MB / 13.93 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 0.927/0.927, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7571/0.7571, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",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.0008876/0.0008876, allocations: 72.8 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5153, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004975/0.5203, allocations: 5.242 MB / 0.823 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1416/0.6619, allocations: 154.2 MB / 0.9735 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008926/0.6628, allocations: 27.75 kB / 0.9736 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.6633, allocations: 214.1 kB / 0.9738 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.6647, allocations: 0.5729 MB / 0.9743 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.6663, allocations: 0.8895 MB / 0.9752 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.6678, allocations: 1.471 MB / 0.9766 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007788/0.6686, allocations: 465.1 kB / 0.9771 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.6692, allocations: 0.5373 MB / 0.9776 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.6697, allocations: 0.5562 MB / 0.9781 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.6698, allocations: 128 kB / 0.9783 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.6706, allocations: 0.523 MB / 0.9788 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.6708, allocations: 331 kB / 0.9791 GB, free: 320 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.6711, allocations: 0.6103 MB / 0.9797 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.6726, allocations: 1.792 MB / 0.9814 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6726, allocations: 3.938 kB / 0.9814 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6726, allocations: 0 / 0.9814 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.6726, allocations: 0 / 0.9814 GB, free: 13.9 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001631/0.6742, allocations: 1.477 MB / 0.9829 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6743, allocations: 11.97 kB / 0.9829 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.6744, allocations: 156.1 kB / 0.983 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009195/0.6753, allocations: 275.9 kB / 0.9833 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6764, allocations: 0.7374 MB / 0.984 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.6765, allocations: 70 kB / 0.9841 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.29e-05/0.6765, allocations: 88 kB / 0.9842 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.6776, allocations: 1.011 MB / 0.9852 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6776, allocations: 3.938 kB / 0.9852 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.6777, allocations: 40 kB / 0.9852 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.6777, allocations: 24 kB / 0.9852 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.6789, allocations: 1.179 MB / 0.9864 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.6815, allocations: 2.91 MB / 0.9892 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.6829, allocations: 0.8506 MB / 0.9901 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.6832, allocations: 290.5 kB / 0.9903 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.916e-05/0.6833, allocations: 32.61 kB / 0.9904 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008023/0.6841, allocations: 0.5008 MB / 0.9909 GB, free: 3.984 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=82): time 1.913e-06/0.6841, allocations: 4 kB / 0.9909 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82): time 0.001844/0.6859, allocations: 1.162 MB / 0.992 GB, free: 2.809 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.686, allocations: 188.6 kB / 0.9922 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/0.6866, allocations: 0.6723 MB / 0.9928 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.6866, allocations: 41.7 kB / 0.9929 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.6869, allocations: 441 kB / 0.9933 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.687, allocations: 277.6 kB / 0.9936 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.6872, allocations: 150.6 kB / 0.9937 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6873, allocations: 390.8 kB / 0.9941 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.6876, allocations: 253.9 kB / 0.9943 GB, free: 360 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.6881, allocations: 370.5 kB / 0.9947 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.6888, allocations: 0.6033 MB / 0.9953 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6888, allocations: 0 / 0.9953 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001117/0.6899, allocations: 0.8296 MB / 0.9961 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6899, allocations: 8 kB / 0.9961 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.6899, allocations: 0 / 0.9961 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.6902, allocations: 84.86 kB / 0.9962 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.6906, allocations: 155.8 kB / 0.9963 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.6922, allocations: 1.533 MB / 0.9978 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.6925, allocations: 99.5 kB / 0.9979 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.6925, allocations: 35.92 kB / 0.9979 GB, free: 12.48 MB / 0.7761 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 (88): * Single equations (assignments): 87 * 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.0002597/0.6928, allocations: 273.5 kB / 0.9982 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.6929, allocations: 91.45 kB / 0.9983 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.6944, allocations: 1.101 MB / 0.9994 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6944, allocations: 16 kB / 0.9994 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.6944, allocations: 0 / 0.9994 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6944, allocations: 3.984 kB / 0.9994 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.6966, allocations: 1.996 MB / 1.001 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6966, allocations: 0 / 1.001 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.6969, allocations: 147.8 kB / 1.001 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.6971, allocations: 72.78 kB / 1.002 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.6971, allocations: 23.98 kB / 1.002 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.6982, allocations: 1.57 MB / 1.003 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6982, allocations: 3.984 kB / 1.003 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.6994, allocations: 1.026 MB / 1.004 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.6996, allocations: 211 kB / 1.004 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.6997, allocations: 16 kB / 1.004 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.7, allocations: 67.92 kB / 1.004 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.7001, allocations: 76.86 kB / 1.004 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.7002, allocations: 39.91 kB / 1.004 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006218/0.7008, allocations: 483 kB / 1.005 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.7008, allocations: 0 / 1.005 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005876/0.7014, allocations: 347.1 kB / 1.005 GB, free: 4.734 MB / 0.7761 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 (94): * Single equations (assignments): 88 * 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.0025/0.7039, allocations: 2.072 MB / 1.007 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.705, allocations: 0.7921 MB / 1.008 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.705, allocations: 0 / 1.008 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.7055, allocations: 0.5004 MB / 1.009 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.7062, allocations: 312.6 kB / 1.009 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.7131, allocations: 6.522 MB / 1.015 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.7134, allocations: 1.047 MB / 1.016 GB, free: 9.492 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004698/0.7139, allocations: 271 kB / 1.017 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.7143, allocations: 415.2 kB / 1.017 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of SimCode: time 6.81e-07/0.7143, allocations: 0 / 1.017 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.7494, allocations: 23.2 MB / 1.04 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.085/9.835, allocations: 9.344 kB / 1.04 GB, free: 1.785 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.745503031881526] Failed to read output from testmodel.py, exit status != 0: 9.98416441702284 9.99599041 9.320539882 Calling exit ...