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.0008028/0.0008028, 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.0008511/0.0008511, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9377/0.9377, allocations: 230.6 MB / 256 MB, free: 9.793 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.784/0.784, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0008533/0.0008533, allocations: 62.47 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4524, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004991/0.4574, allocations: 5.03 MB / 0.8228 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.5857, allocations: 154.2 MB / 0.9733 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.5868, allocations: 19.88 kB / 0.9733 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007262/0.5875, allocations: 206.1 kB / 0.9735 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.5893, allocations: 0.5736 MB / 0.9741 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.5918, allocations: 0.8956 MB / 0.975 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.5934, allocations: 1.444 MB / 0.9764 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.5942, allocations: 425.9 kB / 0.9768 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.5949, allocations: 0.5217 MB / 0.9773 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000861/0.5958, allocations: 0.5329 MB / 0.9778 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.5959, allocations: 120 kB / 0.9779 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.597, allocations: 0.5152 MB / 0.9784 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.5972, allocations: 311 kB / 0.9787 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.5977, allocations: 0.5869 MB / 0.9793 GB, free: 132 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.5995, allocations: 1.718 MB / 0.981 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5995, allocations: 0 / 0.981 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5995, allocations: 0 / 0.981 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.5995, allocations: 0 / 0.981 GB, free: 14.41 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.002014/0.6015, allocations: 1.452 MB / 0.9824 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6016, allocations: 12.03 kB / 0.9824 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.6017, allocations: 131.5 kB / 0.9825 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009514/0.6027, allocations: 260 kB / 0.9828 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.6036, allocations: 0.7218 MB / 0.9835 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.6037, allocations: 66 kB / 0.9836 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.6037, allocations: 83.98 kB / 0.9836 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.6048, allocations: 0.9418 MB / 0.9846 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6049, allocations: 0 / 0.9846 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/0.6049, allocations: 39.98 kB / 0.9846 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.6049, allocations: 23.94 kB / 0.9846 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.6063, allocations: 1.12 MB / 0.9857 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.6091, allocations: 2.735 MB / 0.9884 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.6101, allocations: 0.79 MB / 0.9892 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.6105, allocations: 286.7 kB / 0.9894 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.6105, allocations: 36.67 kB / 0.9895 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006172/0.6111, allocations: 0.5082 MB / 0.99 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=84): time 1.884e-06/0.6112, allocations: 11.94 kB / 0.99 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84): time 0.001941/0.6131, allocations: 1.176 MB / 0.9911 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.6132, allocations: 192.9 kB / 0.9913 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.614, allocations: 0.6685 MB / 0.992 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.614, allocations: 45.64 kB / 0.992 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.6143, allocations: 417.1 kB / 0.9924 GB, free: 2.387 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.6144, allocations: 285.5 kB / 0.9927 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.6146, allocations: 154.6 kB / 0.9928 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6147, allocations: 386.8 kB / 0.9932 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.6151, allocations: 257.9 kB / 0.9934 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.6155, allocations: 370.5 kB / 0.9938 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.6162, allocations: 0.6047 MB / 0.9944 GB, free: 312 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6162, allocations: 0 / 0.9944 GB, free: 312 kB / 0.7605 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001173/0.6174, allocations: 0.8297 MB / 0.9952 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.6174, allocations: 7.938 kB / 0.9952 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6174, allocations: 3.984 kB / 0.9952 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.6177, allocations: 84.88 kB / 0.9953 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.6181, allocations: 155.8 kB / 0.9954 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.6194, allocations: 1.529 MB / 0.9969 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.6199, allocations: 99.52 kB / 0.997 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.6199, allocations: 31.98 kB / 0.997 GB, free: 13.44 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.0003296/0.6202, allocations: 278.2 kB / 0.9973 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.6203, allocations: 87.44 kB / 0.9974 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.6219, allocations: 1.148 MB / 0.9985 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6219, allocations: 8 kB / 0.9985 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.6219, allocations: 4 kB / 0.9985 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6219, allocations: 7.984 kB / 0.9985 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.6244, allocations: 2.008 MB / 1 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6244, allocations: 0 / 1 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.6247, allocations: 147.8 kB / 1.001 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.6249, allocations: 76.78 kB / 1.001 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.625, allocations: 23.98 kB / 1.001 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.6261, allocations: 1.562 MB / 1.002 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6261, allocations: 4.062 kB / 1.002 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.6274, allocations: 1.049 MB / 1.003 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.6277, allocations: 211 kB / 1.003 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.6278, allocations: 16 kB / 1.003 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.6281, allocations: 76.05 kB / 1.004 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.6283, allocations: 80.8 kB / 1.004 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.6283, allocations: 43.91 kB / 1.004 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004394/0.6287, allocations: 487 kB / 1.004 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.6287, allocations: 0 / 1.004 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006607/0.6294, allocations: 331.2 kB / 1.004 GB, free: 5.609 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.002555/0.632, allocations: 2.1 MB / 1.007 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.6331, allocations: 0.7999 MB / 1.007 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6332, allocations: 3.984 kB / 1.007 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.6337, allocations: 0.5121 MB / 1.008 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.6345, allocations: 324 kB / 1.008 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007741/0.6422, allocations: 6.473 MB / 1.014 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.6427, allocations: 1.036 MB / 1.015 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006573/0.6434, allocations: 278.7 kB / 1.016 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.6438, allocations: 415.3 kB / 1.016 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of SimCode: time 1.343e-06/0.6438, allocations: 0 / 1.016 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.6913, allocations: 23.19 MB / 1.039 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.013/9.704, allocations: 9.812 kB / 1.039 GB, free: 2.676 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 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.738156623207033] Failed to read output from testmodel.py, exit status != 0: 9.853642746107653 9.863580142 9.262166642 Calling exit ...