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.001275/0.001275, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00152/0.00152, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.816 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.8247/0.8247, allocations: 134 MB / 446.4 MB, free: 9.969 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.001992/0.001992, allocations: 67.17 kB / 0.6185 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1657, allocations: 85.91 MB / 0.7024 GB, free: 1.113 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005774/0.1715, allocations: 3.801 MB / 0.7061 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4809/0.6525, allocations: 132.6 MB / 0.8355 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006042/0.6531, allocations: 22.34 kB / 0.8356 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.6536, allocations: 179.8 kB / 0.8357 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.6549, allocations: 495.6 kB / 0.8362 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.6567, allocations: 0.8203 MB / 0.837 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.6579, allocations: 1.214 MB / 0.8382 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006583/0.6585, allocations: 433 kB / 0.8386 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.6591, allocations: 462.5 kB / 0.839 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.6596, allocations: 409.9 kB / 0.8394 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.6597, allocations: 104 kB / 0.8395 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009008/0.6606, allocations: 485.5 kB / 0.84 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.6609, allocations: 287 kB / 0.8403 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.6613, allocations: 401.9 kB / 0.8406 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.6631, allocations: 1.547 MB / 0.8422 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6631, allocations: 0 / 0.8422 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6631, allocations: 0 / 0.8422 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.6631, allocations: 0 / 0.8422 GB, free: 4.184 MB / 0.6075 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.002152/0.6653, allocations: 1.311 MB / 0.8434 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6653, allocations: 12.03 kB / 0.8435 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.6655, allocations: 131.1 kB / 0.8436 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.6671, allocations: 232.1 kB / 0.8438 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.6683, allocations: 0.683 MB / 0.8445 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.6684, allocations: 62 kB / 0.8445 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6685, allocations: 80 kB / 0.8446 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.6701, allocations: 1.111 MB / 0.8457 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6701, allocations: 0 / 0.8457 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.6702, allocations: 37.16 kB / 0.8457 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.6702, allocations: 20 kB / 0.8457 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.6719, allocations: 1.019 MB / 0.8467 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.6755, allocations: 2.103 MB / 0.8488 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6767, allocations: 0.677 MB / 0.8494 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.6772, allocations: 247.2 kB / 0.8497 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.977e-05/0.6773, allocations: 28.56 kB / 0.8497 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007998/0.6781, allocations: 0.5251 MB / 0.8502 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=72): time 2.515e-06/0.6781, allocations: 0 / 0.8502 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72): time 0.002826/0.6809, allocations: 1.002 MB / 0.8512 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.681, allocations: 192.6 kB / 0.8514 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.6818, allocations: 0.6212 MB / 0.852 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.6819, allocations: 37.7 kB / 0.852 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.6822, allocations: 384.9 kB / 0.8524 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.6824, allocations: 254 kB / 0.8526 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.6826, allocations: 133.1 kB / 0.8528 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.6828, allocations: 382.8 kB / 0.8531 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.6832, allocations: 213.2 kB / 0.8533 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.6839, allocations: 447.3 kB / 0.8538 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/0.6848, allocations: 0.5277 MB / 0.8543 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6848, allocations: 0 / 0.8543 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00174/0.6866, allocations: 0.7278 MB / 0.855 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6866, allocations: 4 kB / 0.855 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.6866, allocations: 8.094 kB / 0.855 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.6872, allocations: 72.78 kB / 0.8551 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.6878, allocations: 139.8 kB / 0.8552 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6899, allocations: 1.525 MB / 0.8567 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.6904, allocations: 80.27 kB / 0.8568 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.6905, allocations: 27.98 kB / 0.8568 GB, free: 4.633 MB / 0.6231 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.0004006/0.6909, allocations: 245.7 kB / 0.857 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.691, allocations: 87.41 kB / 0.8571 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.6934, allocations: 1 MB / 0.8581 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.6934, allocations: 8 kB / 0.8581 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6934, allocations: 11.98 kB / 0.8581 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.6934, allocations: 3.984 kB / 0.8581 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.6967, allocations: 1.725 MB / 0.8598 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6967, allocations: 7.938 kB / 0.8598 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.6972, allocations: 143.8 kB / 0.8599 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.6977, allocations: 73.3 kB / 0.86 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.6977, allocations: 27.98 kB / 0.86 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.6996, allocations: 1.551 MB / 0.8616 GB, free: 15.57 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6996, allocations: 0 / 0.8616 GB, free: 15.57 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.7015, allocations: 0.9282 MB / 0.8625 GB, free: 14.62 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/0.7019, allocations: 191 kB / 0.8626 GB, free: 14.43 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.7021, allocations: 23.75 kB / 0.8627 GB, free: 14.41 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.7026, allocations: 52.78 kB / 0.8627 GB, free: 14.36 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.7028, allocations: 60.88 kB / 0.8628 GB, free: 14.3 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.7028, allocations: 31.98 kB / 0.8628 GB, free: 14.27 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0005944/0.7034, allocations: 447 kB / 0.8632 GB, free: 13.84 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8e-08/0.7034, allocations: 4 kB / 0.8632 GB, free: 13.84 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0008079/0.7042, allocations: 287.2 kB / 0.8635 GB, free: 13.55 MB / 0.6388 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.004059/0.7083, allocations: 1.994 MB / 0.8655 GB, free: 11.79 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.7099, allocations: 0.7005 MB / 0.8661 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7099, allocations: 4 kB / 0.8661 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.7107, allocations: 468.2 kB / 0.8666 GB, free: 10.6 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.7119, allocations: 288.5 kB / 0.8669 GB, free: 10.34 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.7229, allocations: 5.955 MB / 0.8727 GB, free: 4.285 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.7234, allocations: 410.7 kB / 0.8731 GB, free: 3.855 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0008398/0.7243, allocations: 246.3 kB / 0.8733 GB, free: 3.609 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.7248, allocations: 359.3 kB / 0.8736 GB, free: 3.258 MB / 0.6388 GB Notification: Performance of SimCode: time 7.81e-07/0.7248, allocations: 4 kB / 0.8736 GB, free: 3.254 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05966/0.7845, allocations: 21.67 MB / 0.8948 GB, free: 13.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.68, allocations: 3.984 kB / 0.8948 GB, free: 13.77 MB / 0.67 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.3278345358558] Failed to read output from testmodel.py, exit status != 0: 13.904920844826847 13.932573908 13.263967231 Calling exit ...