Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001279/0.001279, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001382/0.001382, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.801/0.801, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_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.001906/0.001906, allocations: 62 kB / 0.6185 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.159, allocations: 85.91 MB / 0.7024 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005978/0.165, allocations: 4.209 MB / 0.7065 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4653/0.6303, allocations: 154 MB / 0.8569 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006101/0.6309, allocations: 23.81 kB / 0.8569 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.6314, allocations: 172.8 kB / 0.8571 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.6328, allocations: 499.5 kB / 0.8576 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.6346, allocations: 0.8353 MB / 0.8584 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.6359, allocations: 1.211 MB / 0.8596 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007061/0.6366, allocations: 461.7 kB / 0.86 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.6371, allocations: 458.5 kB / 0.8605 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.6377, allocations: 457.9 kB / 0.8609 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.6378, allocations: 104 kB / 0.861 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008774/0.6387, allocations: 0.5052 MB / 0.8615 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.639, allocations: 279.1 kB / 0.8618 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.6394, allocations: 0.4973 MB / 0.8622 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.6412, allocations: 1.535 MB / 0.8637 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6412, allocations: 4 kB / 0.8638 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6412, allocations: 0 / 0.8638 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.6412, allocations: 0 / 0.8638 GB, free: 1.391 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002159/0.6433, allocations: 1.315 MB / 0.865 GB, free: 36 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.6434, allocations: 8.031 kB / 0.865 GB, free: 28 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.6435, allocations: 131.1 kB / 0.8652 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.6451, allocations: 240.1 kB / 0.8654 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.6463, allocations: 0.6792 MB / 0.8661 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.6463, allocations: 62 kB / 0.8661 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.6464, allocations: 72 kB / 0.8662 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.6478, allocations: 0.8753 MB / 0.867 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6479, allocations: 0 / 0.867 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.6479, allocations: 32 kB / 0.8671 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.6479, allocations: 23.94 kB / 0.8671 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.6496, allocations: 1.061 MB / 0.8681 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.6533, allocations: 2.305 MB / 0.8704 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.6545, allocations: 0.6757 MB / 0.871 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.655, allocations: 254.7 kB / 0.8713 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.742e-05/0.6551, allocations: 36.62 kB / 0.8713 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007225/0.6558, allocations: 423.3 kB / 0.8717 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.6558, allocations: 0 / 0.8717 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72): time 0.002814/0.6586, allocations: 1.01 MB / 0.8727 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6587, allocations: 188.6 kB / 0.8729 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.6595, allocations: 0.6096 MB / 0.8735 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.6595, allocations: 41.7 kB / 0.8735 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.6598, allocations: 392.8 kB / 0.8739 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.66, allocations: 245.9 kB / 0.8741 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.6602, allocations: 138.2 kB / 0.8743 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.6604, allocations: 378.8 kB / 0.8746 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.6609, allocations: 213.2 kB / 0.8748 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.6614, allocations: 318.8 kB / 0.8751 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009698/0.6624, allocations: 0.5199 MB / 0.8756 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6624, allocations: 4 kB / 0.8756 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001726/0.6641, allocations: 0.7278 MB / 0.8764 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6641, allocations: 5.875 kB / 0.8764 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6641, allocations: 0 / 0.8764 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/0.6647, allocations: 93.53 kB / 0.8765 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.6653, allocations: 139.8 kB / 0.8766 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.6675, allocations: 1.531 MB / 0.8781 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.668, allocations: 75.61 kB / 0.8782 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.668, allocations: 27.98 kB / 0.8782 GB, free: 2.152 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0003492/0.6684, allocations: 245.7 kB / 0.8784 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6685, allocations: 83.48 kB / 0.8785 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.6708, allocations: 1.004 MB / 0.8795 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.6708, allocations: 8 kB / 0.8795 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.6708, allocations: 0 / 0.8795 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.6708, allocations: 3.984 kB / 0.8795 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.674, allocations: 1.857 MB / 0.8813 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.674, allocations: 3.938 kB / 0.8813 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.6746, allocations: 147.8 kB / 0.8814 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/0.675, allocations: 72.78 kB / 0.8815 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.675, allocations: 23.98 kB / 0.8815 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.677, allocations: 1.553 MB / 0.8831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.677, allocations: 0 / 0.8831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.6789, allocations: 0.9281 MB / 0.884 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.6793, allocations: 183.1 kB / 0.8841 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6794, allocations: 20 kB / 0.8842 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.6799, allocations: 55.94 kB / 0.8842 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.68, allocations: 64.88 kB / 0.8843 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.6801, allocations: 27.98 kB / 0.8843 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005722/0.6807, allocations: 447 kB / 0.8847 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6807, allocations: 0 / 0.8847 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008843/0.6816, allocations: 299.1 kB / 0.885 GB, free: 10.95 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003888/0.6854, allocations: 1.962 MB / 0.8869 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.6869, allocations: 0.7003 MB / 0.8876 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6869, allocations: 4.188 kB / 0.8876 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008502/0.6878, allocations: 460.3 kB / 0.888 GB, free: 8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6889, allocations: 289.5 kB / 0.8883 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.6994, allocations: 5.951 MB / 0.8941 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.7, allocations: 1.012 MB / 0.8951 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007547/0.7008, allocations: 254.2 kB / 0.8954 GB, free: 408 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.7013, allocations: 363.2 kB / 0.8957 GB, free: 44 kB / 0.6544 GB Notification: Performance of SimCode: time 8.21e-07/0.7013, allocations: 0 / 0.8957 GB, free: 44 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/0.7616, allocations: 20.79 MB / 0.916 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.86, allocations: 13.09 kB / 0.916 GB, free: 11.4 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.378883951110765] Failed to read output from testmodel.py, exit status != 0: 14.087059108074754 14.103038534 13.458799262 Calling exit ...