Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.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.0007937/0.0007937, allocations: 105.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.0008277/0.0008277, allocations: 208.1 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.9588/0.9588, allocations: 230.6 MB / 256 MB, free: 9.605 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.7839/0.7839, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.0008746/0.0008746, allocations: 72.2 kB / 0.7181 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4745, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004769/0.4792, allocations: 4.401 MB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1331/0.6124, allocations: 132.7 MB / 0.9516 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/0.6132, allocations: 23.81 kB / 0.9517 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005581/0.6138, allocations: 198.2 kB / 0.9519 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.6152, allocations: 0.5633 MB / 0.9524 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.6167, allocations: 0.8641 MB / 0.9532 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.6178, allocations: 1.401 MB / 0.9546 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.6183, allocations: 405.7 kB / 0.955 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.6188, allocations: 0.5022 MB / 0.9555 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.6192, allocations: 465.8 kB / 0.9559 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.6193, allocations: 120 kB / 0.9561 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.6202, allocations: 495.6 kB / 0.9565 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.6204, allocations: 311 kB / 0.9568 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.6207, allocations: 469.7 kB / 0.9573 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.6223, allocations: 1.707 MB / 0.9589 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6223, allocations: 0 / 0.9589 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6223, allocations: 0 / 0.9589 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.6223, allocations: 0 / 0.9589 GB, free: 4.629 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001999/0.6243, allocations: 1.407 MB / 0.9603 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6243, allocations: 8.031 kB / 0.9603 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.6245, allocations: 135.4 kB / 0.9604 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008811/0.6253, allocations: 244 kB / 0.9607 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.6262, allocations: 0.7141 MB / 0.9614 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.6262, allocations: 69.94 kB / 0.9614 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.6263, allocations: 84 kB / 0.9615 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.6274, allocations: 1.165 MB / 0.9627 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6274, allocations: 4 kB / 0.9627 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.6275, allocations: 39.98 kB / 0.9627 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6275, allocations: 20 kB / 0.9627 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.6288, allocations: 1.057 MB / 0.9638 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.6311, allocations: 2.232 MB / 0.9659 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.6321, allocations: 0.7674 MB / 0.9667 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.6324, allocations: 286.4 kB / 0.967 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.6325, allocations: 20.62 kB / 0.967 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.633, allocations: 0.5963 MB / 0.9676 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=79): time 1.613e-06/0.633, allocations: 0 / 0.9676 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=79): time 0.001719/0.6348, allocations: 1.123 MB / 0.9687 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.6348, allocations: 196.6 kB / 0.9688 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.6354, allocations: 0.6489 MB / 0.9695 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.6354, allocations: 37.7 kB / 0.9695 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.6356, allocations: 417 kB / 0.9699 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.6357, allocations: 257.8 kB / 0.9702 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.636, allocations: 146.6 kB / 0.9703 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6362, allocations: 386.7 kB / 0.9707 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.6365, allocations: 253.9 kB / 0.9709 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.6368, allocations: 483.1 kB / 0.9714 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.6375, allocations: 0.5877 MB / 0.9719 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6375, allocations: 4 kB / 0.9719 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001034/0.6385, allocations: 0.7984 MB / 0.9727 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6385, allocations: 4 kB / 0.9727 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6385, allocations: 12.08 kB / 0.9727 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/0.6388, allocations: 80.72 kB / 0.9728 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.6392, allocations: 151.8 kB / 0.973 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.6404, allocations: 1.535 MB / 0.9745 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.6407, allocations: 97.95 kB / 0.9746 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.6407, allocations: 31.98 kB / 0.9746 GB, free: 4.027 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 (85): * Single equations (assignments): 84 * 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.0002424/0.641, allocations: 277.6 kB / 0.9748 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.6411, allocations: 87.44 kB / 0.9749 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.6423, allocations: 1.05 MB / 0.976 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6424, allocations: 15.94 kB / 0.976 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.6424, allocations: 0 / 0.976 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.6424, allocations: 7.969 kB / 0.976 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.6444, allocations: 1.826 MB / 0.9778 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6444, allocations: 0 / 0.9778 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.6447, allocations: 143.8 kB / 0.9779 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.6449, allocations: 72.78 kB / 0.978 GB, free: 492 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.6449, allocations: 23.98 kB / 0.978 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.646, allocations: 1.563 MB / 0.9795 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.646, allocations: 3.938 kB / 0.9795 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.6471, allocations: 1.002 MB / 0.9805 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.6473, allocations: 199.1 kB / 0.9807 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.6474, allocations: 20 kB / 0.9807 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.6477, allocations: 63.92 kB / 0.9808 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/0.6478, allocations: 68.86 kB / 0.9808 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.6479, allocations: 39.98 kB / 0.9809 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003727/0.6482, allocations: 475 kB / 0.9813 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.6482, allocations: 3.938 kB / 0.9813 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005574/0.6488, allocations: 323.1 kB / 0.9816 GB, free: 12.59 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 (90): * Single equations (assignments): 84 * 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.002209/0.651, allocations: 2.086 MB / 0.9837 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009436/0.6519, allocations: 0.7651 MB / 0.9844 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6519, allocations: 0 / 0.9844 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006628/0.6526, allocations: 0.4923 MB / 0.9849 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.6533, allocations: 316.9 kB / 0.9852 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/0.6596, allocations: 6.273 MB / 0.9913 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.6602, allocations: 439.8 kB / 0.9918 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001166/0.6614, allocations: 254.8 kB / 0.992 GB, free: 2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/0.662, allocations: 383.3 kB / 0.9924 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of SimCode: time 8.02e-07/0.662, allocations: 0 / 0.9924 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/0.7048, allocations: 23.48 MB / 1.015 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.668, allocations: 7.078 kB / 1.015 GB, free: 10.36 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.647887678816915] Failed to read output from testmodel.py, exit status != 0: 8.81298451218754 8.821803772 8.197732736 Calling exit ...