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.0008699/0.0008699, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008931/0.0008931, allocations: 219.2 kB / 22.26 MB, free: 3.84 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 1.014/1.014, 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.8253/0.8253, allocations: 203.8 MB / 0.5042 GB, free: 10.59 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.0009249/0.0009249, allocations: 62.66 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5302, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005322/0.5356, allocations: 4.929 MB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.6856, allocations: 154.1 MB / 0.9732 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.6867, allocations: 27.81 kB / 0.9732 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.6872, allocations: 198.2 kB / 0.9734 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.6889, allocations: 0.5675 MB / 0.9739 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.6908, allocations: 0.8755 MB / 0.9748 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.6923, allocations: 1.405 MB / 0.9762 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.6929, allocations: 417.8 kB / 0.9766 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006257/0.6935, allocations: 0.5022 MB / 0.9771 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007891/0.6943, allocations: 0.5135 MB / 0.9776 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.6945, allocations: 120 kB / 0.9777 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009793/0.6955, allocations: 0.5191 MB / 0.9782 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.6957, allocations: 295 kB / 0.9785 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.6961, allocations: 0.5675 MB / 0.979 GB, free: 416 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.6979, allocations: 1.699 MB / 0.9807 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6979, allocations: 0 / 0.9807 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6979, allocations: 0 / 0.9807 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.6979, allocations: 0 / 0.9807 GB, free: 14.7 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002072/0.7, allocations: 1.415 MB / 0.9821 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.7001, allocations: 8.031 kB / 0.9821 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.7002, allocations: 135.4 kB / 0.9822 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.7011, allocations: 244 kB / 0.9824 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.7022, allocations: 0.7103 MB / 0.9831 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/0.7022, allocations: 65.94 kB / 0.9832 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.7023, allocations: 83.98 kB / 0.9833 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.7035, allocations: 0.9222 MB / 0.9842 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.7035, allocations: 0 / 0.9842 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.7036, allocations: 36 kB / 0.9842 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.7036, allocations: 23.98 kB / 0.9842 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.7053, allocations: 1.112 MB / 0.9853 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.7084, allocations: 2.711 MB / 0.9879 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.7095, allocations: 0.7739 MB / 0.9887 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.7098, allocations: 274.7 kB / 0.989 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.988e-05/0.7099, allocations: 32.61 kB / 0.989 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.7105, allocations: 0.492 MB / 0.9895 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=79): time 2.365e-06/0.7105, allocations: 0 / 0.9895 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79): time 0.001841/0.7123, allocations: 1.115 MB / 0.9906 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.7124, allocations: 200.6 kB / 0.9908 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.713, allocations: 0.645 MB / 0.9914 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.7131, allocations: 45.69 kB / 0.9914 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.7136, allocations: 405 kB / 0.9918 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.7138, allocations: 273.7 kB / 0.9921 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.7139, allocations: 142.6 kB / 0.9922 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.714, allocations: 386.7 kB / 0.9926 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.7143, allocations: 249.9 kB / 0.9928 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.7147, allocations: 354.6 kB / 0.9932 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.7154, allocations: 0.5838 MB / 0.9937 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7154, allocations: 0 / 0.9937 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001152/0.7165, allocations: 0.8062 MB / 0.9945 GB, free: 124 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.7165, allocations: 10.34 kB / 0.9945 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.7165, allocations: 0 / 0.9945 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.7169, allocations: 84.81 kB / 0.9946 GB, free: 28 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.7172, allocations: 151.7 kB / 0.9948 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.7188, allocations: 1.539 MB / 0.9963 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.7192, allocations: 95.56 kB / 0.9963 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.7192, allocations: 35.97 kB / 0.9964 GB, free: 14.09 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 (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.0003868/0.7196, allocations: 265.6 kB / 0.9966 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.7197, allocations: 83.48 kB / 0.9967 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.7212, allocations: 1.062 MB / 0.9978 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.7212, allocations: 15.88 kB / 0.9978 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7212, allocations: 8 kB / 0.9978 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.7212, allocations: 3.984 kB / 0.9978 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.7238, allocations: 1.962 MB / 0.9997 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7238, allocations: 4 kB / 0.9997 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.724, allocations: 139.8 kB / 0.9998 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.7242, allocations: 72.78 kB / 0.9999 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.7243, allocations: 23.98 kB / 0.9999 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.7255, allocations: 1.57 MB / 1.001 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7255, allocations: 0 / 1.001 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.7268, allocations: 0.9984 MB / 1.002 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.7271, allocations: 207.1 kB / 1.003 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/0.7271, allocations: 16 kB / 1.003 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.7275, allocations: 63.92 kB / 1.003 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7276, allocations: 68.88 kB / 1.003 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.7276, allocations: 35.97 kB / 1.003 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004431/0.7281, allocations: 483 kB / 1.003 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7281, allocations: 0 / 1.003 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007026/0.7288, allocations: 323.1 kB / 1.004 GB, free: 6.508 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 (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.00231/0.7311, allocations: 2.054 MB / 1.006 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.7325, allocations: 0.7688 MB / 1.006 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7325, allocations: 0 / 1.006 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.733, allocations: 0.4964 MB / 1.007 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.7338, allocations: 310 kB / 1.007 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/0.7412, allocations: 6.266 MB / 1.013 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.7417, allocations: 1.019 MB / 1.014 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006298/0.7423, allocations: 274.3 kB / 1.014 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.7427, allocations: 379.3 kB / 1.015 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of SimCode: time 1.503e-06/0.7427, allocations: 4 kB / 1.015 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.7843, allocations: 22.51 MB / 1.037 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.845/9.629, allocations: 2.578 kB / 1.037 GB, free: 4.613 MB / 0.8073 GB " [Timeout remaining time 650] (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: 12.830872721970081] Failed to read output from testmodel.py, exit status != 0: 9.781206983141601 9.79391837 9.093115771 Calling exit ...