Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001054/0.001054, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001074/0.001074, allocations: 191.9 kB / 16.14 MB, free: 6.707 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6988/0.6988, allocations: 132.2 MB / 422.1 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001172, allocations: 67.67 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3488, allocations: 80.19 MB / 0.5795 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004505/0.3534, allocations: 4.162 MB / 0.5836 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.143/0.4964, allocations: 148.2 MB / 0.7282 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.4972, allocations: 19.94 kB / 0.7283 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.4977, allocations: 134.9 kB / 0.7284 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.4989, allocations: 401.3 kB / 0.7288 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.5005, allocations: 0.6913 MB / 0.7294 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008581/0.5014, allocations: 1.106 MB / 0.7305 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006984/0.5021, allocations: 0.598 MB / 0.7311 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.5025, allocations: 378.4 kB / 0.7315 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.5029, allocations: 426 kB / 0.7319 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.503, allocations: 52 kB / 0.7319 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/0.5036, allocations: 391.6 kB / 0.7323 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.5038, allocations: 219.1 kB / 0.7325 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.5042, allocations: 461.3 kB / 0.7329 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.5054, allocations: 1.402 MB / 0.7343 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5054, allocations: 0 / 0.7343 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5054, allocations: 0 / 0.7343 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5054, allocations: 0 / 0.7343 GB, free: 2.645 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001947/0.5073, allocations: 1.338 MB / 0.7356 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5074, allocations: 8.031 kB / 0.7356 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.5075, allocations: 131.2 kB / 0.7358 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008216/0.5084, allocations: 179.5 kB / 0.7359 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.5092, allocations: 0.7031 MB / 0.7366 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.5093, allocations: 58 kB / 0.7367 GB, free: 128 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.5094, allocations: 83.98 kB / 0.7368 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5107, allocations: 0.8637 MB / 0.7376 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5107, allocations: 0 / 0.7376 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.5108, allocations: 36 kB / 0.7376 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.5108, allocations: 24 kB / 0.7377 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.5124, allocations: 1.061 MB / 0.7387 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.5158, allocations: 2.398 MB / 0.741 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.5171, allocations: 0.7987 MB / 0.7418 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.5175, allocations: 274.7 kB / 0.7421 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-05/0.5176, allocations: 32.67 kB / 0.7421 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007767/0.5184, allocations: 427.2 kB / 0.7425 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.804e-06/0.5184, allocations: 3.938 kB / 0.7425 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002824/0.5212, allocations: 1.084 MB / 0.7436 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.5213, allocations: 192.6 kB / 0.7438 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.522, allocations: 0.5861 MB / 0.7443 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.5221, allocations: 41.7 kB / 0.7444 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.5223, allocations: 372.2 kB / 0.7447 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.5225, allocations: 240.5 kB / 0.745 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.5227, allocations: 138.2 kB / 0.7451 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5229, allocations: 382.7 kB / 0.7455 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.5233, allocations: 217.2 kB / 0.7457 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.5238, allocations: 327.6 kB / 0.746 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.5248, allocations: 0.5363 MB / 0.7465 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5248, allocations: 0 / 0.7465 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001655/0.5265, allocations: 0.7275 MB / 0.7472 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5265, allocations: 4 kB / 0.7472 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5265, allocations: 0 / 0.7472 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005775/0.5271, allocations: 80.91 kB / 0.7473 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.5277, allocations: 139.8 kB / 0.7474 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.5295, allocations: 1.52 MB / 0.7489 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.53, allocations: 78.3 kB / 0.749 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.5301, allocations: 31.98 kB / 0.749 GB, free: 3.035 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.0003311/0.5304, allocations: 245.7 kB / 0.7492 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5306, allocations: 75.06 kB / 0.7493 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.5328, allocations: 1.017 MB / 0.7503 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.5328, allocations: 8 kB / 0.7503 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.5328, allocations: 0 / 0.7503 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5328, allocations: 3.984 kB / 0.7503 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.5357, allocations: 1.869 MB / 0.7521 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5357, allocations: 0 / 0.7521 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.5362, allocations: 147.8 kB / 0.7523 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005086/0.5367, allocations: 84.7 kB / 0.7524 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.5368, allocations: 23.98 kB / 0.7524 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.5385, allocations: 1.536 MB / 0.7539 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5386, allocations: 0 / 0.7539 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.5403, allocations: 0.9258 MB / 0.7548 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.5406, allocations: 267.8 kB / 0.755 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5407, allocations: 20 kB / 0.7551 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.5413, allocations: 55.92 kB / 0.7551 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.5414, allocations: 60.84 kB / 0.7552 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.5415, allocations: 36.05 kB / 0.7552 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000485/0.542, allocations: 427.1 kB / 0.7556 GB, free: 12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.542, allocations: 0 / 0.7556 GB, free: 12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007695/0.5428, allocations: 283.3 kB / 0.7559 GB, free: 11.73 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 (87): * Single equations (assignments): 84 * 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.003158/0.5459, allocations: 1.959 MB / 0.7578 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.5473, allocations: 0.7277 MB / 0.7585 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5473, allocations: 0 / 0.7585 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.5482, allocations: 0.4926 MB / 0.759 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5493, allocations: 258.3 kB / 0.7592 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.56, allocations: 6.427 MB / 0.7655 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.5605, allocations: 1.004 MB / 0.7665 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007761/0.5613, allocations: 265.5 kB / 0.7668 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.5618, allocations: 359.3 kB / 0.7671 GB, free: 296 kB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5618, allocations: 0 / 0.7671 GB, free: 296 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2871/0.8489, allocations: 19.03 MB / 0.7857 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.8492, allocations: 300.3 kB / 0.786 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.444, allocations: 0 / 0.786 GB, free: 13.27 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)