Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.138/1.138, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6471/0.6471, allocations: 132.2 MB / 422.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 55.97 kB / 0.5013 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2831, allocations: 80.2 MB / 0.5797 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004262/0.2874, allocations: 4.1 MB / 0.5837 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1226/0.4101, allocations: 148.2 MB / 0.7284 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.4108, allocations: 19.88 kB / 0.7284 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.4113, allocations: 131 kB / 0.7286 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.4127, allocations: 413.2 kB / 0.729 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.4143, allocations: 0.7106 MB / 0.7296 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.4153, allocations: 1.172 MB / 0.7308 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/0.416, allocations: 0.6097 MB / 0.7314 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004494/0.4164, allocations: 426.5 kB / 0.7318 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.4169, allocations: 446 kB / 0.7322 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.417, allocations: 104 kB / 0.7323 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.4176, allocations: 451.6 kB / 0.7328 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.4178, allocations: 271.1 kB / 0.733 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.4182, allocations: 0.4896 MB / 0.7335 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.4194, allocations: 1.453 MB / 0.7349 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4194, allocations: 3.984 kB / 0.7349 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4194, allocations: 0 / 0.7349 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.4194, allocations: 0 / 0.7349 GB, free: 2.016 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001862/0.4213, allocations: 1.311 MB / 0.7362 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.4213, allocations: 12.03 kB / 0.7362 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.4215, allocations: 127 kB / 0.7363 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.4223, allocations: 171.5 kB / 0.7365 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.423, allocations: 0.7109 MB / 0.7372 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.4231, allocations: 58 kB / 0.7372 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.4232, allocations: 76 kB / 0.7373 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4244, allocations: 0.8559 MB / 0.7381 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4244, allocations: 0 / 0.7381 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.4245, allocations: 32 kB / 0.7382 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.4245, allocations: 20 kB / 0.7382 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.4258, allocations: 1.057 MB / 0.7392 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.4288, allocations: 2.402 MB / 0.7416 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.4298, allocations: 0.7967 MB / 0.7424 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.4303, allocations: 284.9 kB / 0.7426 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.4303, allocations: 24.59 kB / 0.7426 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/0.4309, allocations: 421.7 kB / 0.743 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.724e-06/0.431, allocations: 0 / 0.743 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002478/0.4334, allocations: 1.066 MB / 0.7441 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.4335, allocations: 196.5 kB / 0.7443 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.4341, allocations: 0.5744 MB / 0.7448 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.4341, allocations: 45.64 kB / 0.7449 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.4343, allocations: 380.2 kB / 0.7452 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.4345, allocations: 232.6 kB / 0.7455 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.4346, allocations: 134.2 kB / 0.7456 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4348, allocations: 378.8 kB / 0.746 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.4351, allocations: 205.2 kB / 0.7462 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.4356, allocations: 326.7 kB / 0.7465 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/0.4364, allocations: 0.5196 MB / 0.747 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4364, allocations: 3.938 kB / 0.747 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00143/0.4378, allocations: 0.7158 MB / 0.7477 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4378, allocations: 4 kB / 0.7477 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4378, allocations: 0 / 0.7477 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.4384, allocations: 84.86 kB / 0.7478 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.4389, allocations: 131.8 kB / 0.7479 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2041/0.643, allocations: 1.646 MB / 0.7495 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.6436, allocations: 71.59 kB / 0.7496 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.6437, allocations: 27.98 kB / 0.7496 GB, free: 2.426 MB / 0.5762 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 (73): * Single equations (assignments): 72 * 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.0003442/0.644, allocations: 251.7 kB / 0.7498 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.6442, allocations: 79 kB / 0.7499 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.646, allocations: 0.9665 MB / 0.7508 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.646, allocations: 8 kB / 0.7509 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.6461, allocations: 0 / 0.7509 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.6461, allocations: 3.984 kB / 0.7509 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.6485, allocations: 1.836 MB / 0.7526 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6485, allocations: 3.938 kB / 0.7527 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.649, allocations: 139.8 kB / 0.7528 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003855/0.6494, allocations: 68.88 kB / 0.7529 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.6495, allocations: 35.86 kB / 0.7529 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.651, allocations: 1.666 MB / 0.7545 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.651, allocations: 0 / 0.7545 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.6525, allocations: 0.8985 MB / 0.7554 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.6528, allocations: 255.8 kB / 0.7556 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/0.6528, allocations: 19.94 kB / 0.7557 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.6533, allocations: 54.61 kB / 0.7557 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.6535, allocations: 60.92 kB / 0.7558 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.6535, allocations: 28.05 kB / 0.7558 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003988/0.6539, allocations: 431 kB / 0.7562 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6539, allocations: 0 / 0.7562 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005786/0.6545, allocations: 271.4 kB / 0.7565 GB, free: 11.12 MB / 0.5919 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 (81): * Single equations (assignments): 78 * 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.002716/0.6572, allocations: 1.934 MB / 0.7583 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.6589, allocations: 0.8955 MB / 0.7592 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.6589, allocations: 0 / 0.7592 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.6596, allocations: 488.5 kB / 0.7597 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.6606, allocations: 287.1 kB / 0.76 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009278/0.6699, allocations: 6.335 MB / 0.7661 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.6703, allocations: 0.9996 MB / 0.7671 GB, free: 272 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00063/0.6709, allocations: 254 kB / 0.7674 GB, free: 16 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.6714, allocations: 347.4 kB / 0.7677 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.6714, allocations: 0 / 0.7677 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.265/1.936, allocations: 19.28 MB / 0.7865 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/1.937, allocations: 292.5 kB / 0.7868 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/4.128, allocations: 4 kB / 0.7868 GB, free: 12.37 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)