Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.0007975/0.0007975, allocations: 113.9 kB / 18.94 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.0008586/0.0008586, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9743/0.9743, allocations: 230.6 MB / 256 MB, free: 9.781 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.8158/0.8158, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.0008917/0.0008917, allocations: 69.84 kB / 0.7182 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.483, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005401/0.4884, allocations: 5.036 MB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1422/0.6307, allocations: 154.2 MB / 0.9733 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009983/0.6317, allocations: 27.75 kB / 0.9733 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.6323, allocations: 202.1 kB / 0.9735 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.6338, allocations: 0.5659 MB / 0.9741 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.6356, allocations: 0.894 MB / 0.975 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.637, allocations: 1.456 MB / 0.9764 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005873/0.6376, allocations: 421.9 kB / 0.9768 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000893/0.6385, allocations: 0.5217 MB / 0.9773 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.639, allocations: 0.5329 MB / 0.9778 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.6392, allocations: 120 kB / 0.9779 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008415/0.64, allocations: 0.5152 MB / 0.9784 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.6402, allocations: 314.9 kB / 0.9787 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.6406, allocations: 0.5791 MB / 0.9793 GB, free: 120 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.6422, allocations: 1.718 MB / 0.981 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6422, allocations: 0 / 0.981 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6422, allocations: 0 / 0.981 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.325e-05/0.6423, allocations: 0 / 0.981 GB, free: 14.39 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00198/0.6442, allocations: 1.46 MB / 0.9824 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.6443, allocations: 12.03 kB / 0.9824 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.6444, allocations: 135.5 kB / 0.9825 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/0.6453, allocations: 252 kB / 0.9828 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.6462, allocations: 0.7257 MB / 0.9835 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.6463, allocations: 66 kB / 0.9836 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.6463, allocations: 80 kB / 0.9836 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.6476, allocations: 0.9391 MB / 0.9846 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6477, allocations: 4 kB / 0.9846 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.6477, allocations: 43.98 kB / 0.9846 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.6477, allocations: 20 kB / 0.9846 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.6489, allocations: 1.12 MB / 0.9857 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.6516, allocations: 2.74 MB / 0.9884 GB, free: 6.57 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.6526, allocations: 0.7783 MB / 0.9891 GB, free: 5.789 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.653, allocations: 290.7 kB / 0.9894 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.653, allocations: 28.69 kB / 0.9894 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.6536, allocations: 0.516 MB / 0.99 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=84): time 2.314e-06/0.6536, allocations: 0 / 0.99 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84): time 0.001995/0.6556, allocations: 1.188 MB / 0.9911 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003202/0.6559, allocations: 196.9 kB / 0.9913 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.6565, allocations: 0.6646 MB / 0.992 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.6566, allocations: 45.7 kB / 0.992 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.6568, allocations: 413.1 kB / 0.9924 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.657, allocations: 281.6 kB / 0.9927 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.6571, allocations: 158.6 kB / 0.9928 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6573, allocations: 390.8 kB / 0.9932 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.6576, allocations: 257.8 kB / 0.9934 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.658, allocations: 366.5 kB / 0.9938 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.6587, allocations: 0.6008 MB / 0.9944 GB, free: 304 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6587, allocations: 0 / 0.9944 GB, free: 304 kB / 0.7605 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001214/0.66, allocations: 0.8297 MB / 0.9952 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.66, allocations: 15.88 kB / 0.9952 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.66, allocations: 3.938 kB / 0.9952 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.6603, allocations: 84.86 kB / 0.9953 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.6606, allocations: 155.8 kB / 0.9954 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.6621, allocations: 1.527 MB / 0.9969 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.6625, allocations: 99.48 kB / 0.997 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.6625, allocations: 31.98 kB / 0.997 GB, free: 13.43 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003482/0.6629, allocations: 278.1 kB / 0.9973 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.663, allocations: 91.44 kB / 0.9974 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.6648, allocations: 1.144 MB / 0.9985 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6648, allocations: 12 kB / 0.9985 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.6648, allocations: 0 / 0.9985 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.6648, allocations: 3.984 kB / 0.9985 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.667, allocations: 2.008 MB / 1 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6671, allocations: 0 / 1 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.6674, allocations: 151.8 kB / 1.001 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.6676, allocations: 72.78 kB / 1.001 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.6676, allocations: 31.98 kB / 1.001 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.6688, allocations: 1.559 MB / 1.002 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6688, allocations: 3.938 kB / 1.002 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6701, allocations: 1.053 MB / 1.003 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.6704, allocations: 207 kB / 1.003 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.6704, allocations: 23.98 kB / 1.004 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.6708, allocations: 67.92 kB / 1.004 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6709, allocations: 76.86 kB / 1.004 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.671, allocations: 48.03 kB / 1.004 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004226/0.6714, allocations: 487 kB / 1.004 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.6714, allocations: 0 / 1.004 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006874/0.6721, allocations: 335.2 kB / 1.004 GB, free: 5.594 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002667/0.6747, allocations: 2.113 MB / 1.007 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.6759, allocations: 0.804 MB / 1.007 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6759, allocations: 0 / 1.007 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.6765, allocations: 0.508 MB / 1.008 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.6772, allocations: 301.9 kB / 1.008 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007329/0.6846, allocations: 6.484 MB / 1.014 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.685, allocations: 1.043 MB / 1.015 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006167/0.6856, allocations: 271.1 kB / 1.016 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.6861, allocations: 415.3 kB / 1.016 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of SimCode: time 1.022e-06/0.6861, allocations: 4 kB / 1.016 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.7287, allocations: 23.2 MB / 1.039 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.095/9.823, allocations: 5.656 kB / 1.039 GB, free: 2.645 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.86886357003823] Failed to read output from testmodel.py, exit status != 0: 9.976089619100094 9.990127558 9.345336348 Calling exit ...