Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.000883/0.000883, 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.0009038/0.0009038, allocations: 218.3 kB / 22.25 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.9905/0.9905, allocations: 230.6 MB / 256 MB, free: 9.797 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.819/0.819, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.0009128/0.0009128, allocations: 68.45 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4852, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.0049/0.4901, allocations: 4.898 MB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1346/0.6247, allocations: 154.1 MB / 0.9731 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.6262, allocations: 19.88 kB / 0.9732 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.6268, allocations: 190.2 kB / 0.9733 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.6287, allocations: 0.5648 MB / 0.9739 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.6308, allocations: 0.8707 MB / 0.9747 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.6324, allocations: 1.39 MB / 0.9761 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.6329, allocations: 405.9 kB / 0.9765 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.6336, allocations: 0.4944 MB / 0.977 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.634, allocations: 0.5096 MB / 0.9775 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.6341, allocations: 116 kB / 0.9776 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009386/0.6351, allocations: 0.5113 MB / 0.9781 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.6353, allocations: 295 kB / 0.9784 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.6356, allocations: 0.5558 MB / 0.9789 GB, free: 464 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.6372, allocations: 1.672 MB / 0.9805 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6373, allocations: 4 kB / 0.9805 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6373, allocations: 0 / 0.9805 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.6373, allocations: 0 / 0.9805 GB, free: 14.77 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001769/0.639, allocations: 1.396 MB / 0.9819 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6391, allocations: 8.031 kB / 0.9819 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.6392, allocations: 135.3 kB / 0.982 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007366/0.6399, allocations: 235.9 kB / 0.9823 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.641, allocations: 0.7064 MB / 0.983 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.6411, allocations: 58 kB / 0.983 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.6412, allocations: 83.94 kB / 0.9831 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.6421, allocations: 0.9028 MB / 0.984 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.6421, allocations: 4 kB / 0.984 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.6422, allocations: 40 kB / 0.984 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.6422, allocations: 20 kB / 0.984 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.6432, allocations: 1.093 MB / 0.9851 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.6457, allocations: 2.668 MB / 0.9877 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.6467, allocations: 0.7455 MB / 0.9884 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.647, allocations: 278.6 kB / 0.9887 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.647, allocations: 28.55 kB / 0.9887 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/0.6476, allocations: 495.1 kB / 0.9892 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=79): time 1.533e-06/0.6476, allocations: 0 / 0.9892 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79): time 0.002025/0.6496, allocations: 1.109 MB / 0.9903 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.6497, allocations: 196.6 kB / 0.9905 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.6502, allocations: 0.6411 MB / 0.9911 GB, free: 3.645 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.6503, allocations: 41.7 kB / 0.9911 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.6504, allocations: 401 kB / 0.9915 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.6506, allocations: 277.6 kB / 0.9918 GB, free: 2.926 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.6507, allocations: 142.6 kB / 0.9919 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6508, allocations: 394.7 kB / 0.9923 GB, free: 2.387 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.6511, allocations: 237.9 kB / 0.9925 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.6515, allocations: 358.6 kB / 0.9929 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000635/0.6521, allocations: 0.576 MB / 0.9934 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6521, allocations: 0 / 0.9934 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001035/0.6531, allocations: 0.7984 MB / 0.9942 GB, free: 388 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6532, allocations: 4 kB / 0.9942 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6532, allocations: 0 / 0.9942 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.6535, allocations: 84.86 kB / 0.9943 GB, free: 296 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.6538, allocations: 147.8 kB / 0.9944 GB, free: 148 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.6551, allocations: 1.533 MB / 0.9959 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.6555, allocations: 83.52 kB / 0.996 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.6555, allocations: 31.97 kB / 0.996 GB, free: 14.38 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.0002912/0.6558, allocations: 269.6 kB / 0.9963 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/0.6559, allocations: 91.38 kB / 0.9964 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.6575, allocations: 1.05 MB / 0.9974 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6575, allocations: 8 kB / 0.9974 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.6575, allocations: 0 / 0.9974 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6575, allocations: 11.92 kB / 0.9974 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.6594, allocations: 1.899 MB / 0.9993 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6594, allocations: 0 / 0.9993 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.6597, allocations: 155.7 kB / 0.9994 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.6599, allocations: 76.78 kB / 0.9995 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.6599, allocations: 19.98 kB / 0.9995 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.661, allocations: 1.558 MB / 1.001 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.661, allocations: 0 / 1.001 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.6621, allocations: 0.9867 MB / 1.002 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.6623, allocations: 199.1 kB / 1.002 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.6624, allocations: 20.06 kB / 1.002 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.6627, allocations: 63.94 kB / 1.002 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6628, allocations: 72.86 kB / 1.002 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.6628, allocations: 35.97 kB / 1.002 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003884/0.6632, allocations: 471 kB / 1.003 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.6632, allocations: 0 / 1.003 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005882/0.6638, allocations: 319.2 kB / 1.003 GB, free: 6.895 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.002404/0.6662, allocations: 2.047 MB / 1.005 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.6672, allocations: 0.7689 MB / 1.006 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6672, allocations: 0 / 1.006 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.6677, allocations: 492.2 kB / 1.006 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.6685, allocations: 303.6 kB / 1.007 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/0.6755, allocations: 6.234 MB / 1.013 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.676, allocations: 1.019 MB / 1.014 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000601/0.6766, allocations: 258.7 kB / 1.014 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.677, allocations: 387.3 kB / 1.014 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of SimCode: time 1.022e-06/0.677, allocations: 3.938 kB / 1.014 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.7166, allocations: 22.23 MB / 1.036 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.736/9.453, allocations: 3.938 kB / 1.036 GB, free: 5.352 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.643178408965468] Failed to read output from testmodel.py, exit status != 0: 9.608036338118836 9.615530627 8.976279482 Calling exit ...