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.0008586/0.0008586, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001095/0.001095, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9581/0.9581, allocations: 230.6 MB / 256 MB, free: 9.594 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.7686/0.7686, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0009278/0.0009278, allocations: 75.72 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4911, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004722/0.4958, allocations: 4.681 MB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1306/0.6264, allocations: 132.7 MB / 0.952 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/0.6273, allocations: 23.81 kB / 0.952 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.6278, allocations: 210.1 kB / 0.9522 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.6292, allocations: 0.5782 MB / 0.9528 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.6309, allocations: 0.8714 MB / 0.9536 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.632, allocations: 1.464 MB / 0.955 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005695/0.6325, allocations: 449 kB / 0.9555 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000511/0.633, allocations: 0.5373 MB / 0.956 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004251/0.6335, allocations: 0.4976 MB / 0.9565 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.6336, allocations: 128 kB / 0.9566 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007544/0.6343, allocations: 0.4957 MB / 0.9571 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004602/0.6348, allocations: 319 kB / 0.9574 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.6351, allocations: 0.4976 MB / 0.9579 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.6365, allocations: 1.8 MB / 0.9596 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6365, allocations: 0 / 0.9596 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6365, allocations: 0 / 0.9596 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.6365, allocations: 0 / 0.9596 GB, free: 3.957 MB / 0.7292 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.001716/0.6382, allocations: 1.493 MB / 0.9611 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.6383, allocations: 8.031 kB / 0.9611 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.6384, allocations: 152.1 kB / 0.9612 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.6395, allocations: 275.9 kB / 0.9615 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.6404, allocations: 0.7374 MB / 0.9622 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.6404, allocations: 70 kB / 0.9623 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.6405, allocations: 91.98 kB / 0.9624 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.6417, allocations: 1.262 MB / 0.9636 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.6417, allocations: 0 / 0.9636 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.6418, allocations: 44 kB / 0.9637 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.6418, allocations: 24 kB / 0.9637 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.6432, allocations: 1.128 MB / 0.9648 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.6457, allocations: 2.318 MB / 0.967 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6471, allocations: 0.8481 MB / 0.9679 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.6475, allocations: 282.7 kB / 0.9681 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.6475, allocations: 24.64 kB / 0.9682 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006114/0.6481, allocations: 0.6044 MB / 0.9688 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/0.6481, allocations: 0 / 0.9688 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.001887/0.65, allocations: 1.169 MB / 0.9699 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.6501, allocations: 192.6 kB / 0.9701 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.6506, allocations: 0.6684 MB / 0.9707 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.6507, allocations: 45.7 kB / 0.9708 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.6509, allocations: 437 kB / 0.9712 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/0.6515, allocations: 273.7 kB / 0.9715 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.6516, allocations: 154.6 kB / 0.9716 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6517, allocations: 394.7 kB / 0.972 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.6521, allocations: 257.8 kB / 0.9722 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.6525, allocations: 495.1 kB / 0.9727 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.6532, allocations: 0.5994 MB / 0.9733 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6532, allocations: 0 / 0.9733 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001107/0.6543, allocations: 0.8335 MB / 0.9741 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6543, allocations: 4 kB / 0.9741 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6543, allocations: 3.938 kB / 0.9741 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.6546, allocations: 84.86 kB / 0.9742 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.655, allocations: 151.8 kB / 0.9743 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.6563, allocations: 1.525 MB / 0.9758 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.6566, allocations: 99.45 kB / 0.9759 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.6567, allocations: 31.98 kB / 0.9759 GB, free: 2.68 MB / 0.7448 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.0002975/0.657, allocations: 281.5 kB / 0.9762 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6571, allocations: 95.38 kB / 0.9763 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.6585, allocations: 1.093 MB / 0.9774 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.6585, allocations: 12 kB / 0.9774 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.6585, allocations: 0 / 0.9774 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6585, allocations: 3.984 kB / 0.9774 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.6611, allocations: 1.856 MB / 0.9792 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6611, allocations: 4 kB / 0.9792 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.6615, allocations: 155.7 kB / 0.9794 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.6617, allocations: 76.78 kB / 0.9794 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.6618, allocations: 23.98 kB / 0.9794 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.6631, allocations: 1.551 MB / 0.981 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6631, allocations: 0 / 0.981 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.6644, allocations: 1.034 MB / 0.982 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.6647, allocations: 203.1 kB / 0.9822 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.6647, allocations: 23.94 kB / 0.9822 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.6651, allocations: 63.92 kB / 0.9822 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6652, allocations: 72.86 kB / 0.9823 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.6652, allocations: 43.91 kB / 0.9824 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004352/0.6657, allocations: 487 kB / 0.9828 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6657, allocations: 4 kB / 0.9828 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007287/0.6664, allocations: 339.1 kB / 0.9832 GB, free: 11.08 MB / 0.7605 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.002405/0.6688, allocations: 2.121 MB / 0.9852 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.6702, allocations: 0.7923 MB / 0.986 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6702, allocations: 0 / 0.986 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.6707, allocations: 0.5118 MB / 0.9865 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.6715, allocations: 304.6 kB / 0.9868 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00775/0.6793, allocations: 6.514 MB / 0.9931 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6796, allocations: 461.6 kB / 0.9936 GB, free: 432 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006237/0.6802, allocations: 274.5 kB / 0.9939 GB, free: 156 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.6806, allocations: 411.3 kB / 0.9942 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of SimCode: time 1.262e-06/0.6806, allocations: 0 / 0.9942 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/0.7224, allocations: 24.26 MB / 1.018 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.559, allocations: 4 kB / 1.018 GB, free: 7.707 MB / 0.7917 GB " [Timeout remaining time 651] (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: 11.55484642693773] Failed to read output from testmodel.py, exit status != 0: 8.712972091976553 8.725050819 8.086772774 Calling exit ...