Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, 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.001617/0.001617, allocations: 191.3 kB / 16.25 MB, free: 6.637 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.95/0.95, allocations: 135.6 MB / 425.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 60.16 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.202, allocations: 81.02 MB / 0.5845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.008736/0.2108, allocations: 4.056 MB / 0.5885 GB, free: 224 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4498/0.6607, allocations: 148.2 MB / 0.7332 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006585/0.6614, allocations: 15.78 kB / 0.7332 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.662, allocations: 134 kB / 0.7333 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.6633, allocations: 407.5 kB / 0.7337 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.6651, allocations: 0.695 MB / 0.7344 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.6663, allocations: 1.154 MB / 0.7355 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008809/0.6672, allocations: 0.5933 MB / 0.7361 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.6677, allocations: 419.9 kB / 0.7365 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.6682, allocations: 437.7 kB / 0.7369 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.6683, allocations: 100.7 kB / 0.737 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000769/0.6691, allocations: 440.9 kB / 0.7375 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.6694, allocations: 264.3 kB / 0.7377 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.6698, allocations: 492.9 kB / 0.7382 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.6712, allocations: 1.423 MB / 0.7396 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6713, allocations: 0 / 0.7396 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6713, allocations: 0.9375 kB / 0.7396 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.6713, allocations: 0 / 0.7396 GB, free: 10.25 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002163/0.6735, allocations: 1.308 MB / 0.7408 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.6735, allocations: 10.09 kB / 0.7409 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000847/0.6744, allocations: 174.8 kB / 0.741 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000941/0.6753, allocations: 0.6935 MB / 0.7417 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.6754, allocations: 57.62 kB / 0.7418 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.6755, allocations: 75.09 kB / 0.7418 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.6769, allocations: 0.838 MB / 0.7426 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.6769, allocations: 3.938 kB / 0.7426 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/0.677, allocations: 35.62 kB / 0.7427 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.677, allocations: 18.97 kB / 0.7427 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.6785, allocations: 1.049 MB / 0.7437 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.6819, allocations: 2.325 MB / 0.746 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.6831, allocations: 0.7782 MB / 0.7468 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.6836, allocations: 266.5 kB / 0.747 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.559e-05/0.6837, allocations: 36.7 kB / 0.747 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007662/0.6844, allocations: 412 kB / 0.7474 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.924e-06/0.6844, allocations: 0 / 0.7474 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.003045/0.6875, allocations: 1.054 MB / 0.7485 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.6876, allocations: 188.5 kB / 0.7486 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/0.6884, allocations: 0.5821 MB / 0.7492 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.6885, allocations: 41.7 kB / 0.7493 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.6888, allocations: 364.4 kB / 0.7496 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.689, allocations: 236.6 kB / 0.7498 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.6893, allocations: 152.2 kB / 0.75 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.6895, allocations: 378.8 kB / 0.7503 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.69, allocations: 229.9 kB / 0.7506 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.6906, allocations: 326.7 kB / 0.7509 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/0.6916, allocations: 0.5312 MB / 0.7514 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6916, allocations: 0 / 0.7514 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001761/0.6933, allocations: 0.7471 MB / 0.7521 GB, free: 212 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.6934, allocations: 8.094 kB / 0.7521 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6934, allocations: 4 kB / 0.7521 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/0.694, allocations: 84.77 kB / 0.7522 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.6946, allocations: 135.8 kB / 0.7523 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.6969, allocations: 1.637 MB / 0.7539 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.6975, allocations: 80.55 kB / 0.754 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.6976, allocations: 29.08 kB / 0.754 GB, free: 14.09 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (81): * Single equations (assignments): 80 * 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.0004067/0.698, allocations: 255.3 kB / 0.7543 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.6982, allocations: 75.06 kB / 0.7544 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.7003, allocations: 0.953 MB / 0.7553 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7004, allocations: 8 kB / 0.7553 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.7004, allocations: 0 / 0.7553 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.7004, allocations: 3.984 kB / 0.7553 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.7034, allocations: 1.793 MB / 0.757 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.7034, allocations: 0 / 0.757 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.7039, allocations: 139.8 kB / 0.7572 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.7044, allocations: 76.81 kB / 0.7573 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.7045, allocations: 23.92 kB / 0.7573 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.7065, allocations: 1.654 MB / 0.7589 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7065, allocations: 0 / 0.7589 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.7084, allocations: 0.879 MB / 0.7597 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.7088, allocations: 251.8 kB / 0.76 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.7089, allocations: 27.98 kB / 0.76 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.7094, allocations: 52.73 kB / 0.7601 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.7096, allocations: 56.91 kB / 0.7601 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.7096, allocations: 31.98 kB / 0.7601 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005762/0.7102, allocations: 423 kB / 0.7606 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7102, allocations: 0 / 0.7606 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009084/0.7111, allocations: 279.3 kB / 0.7608 GB, free: 6.898 MB / 0.5762 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.001874/0.713, allocations: 0.6015 MB / 0.7614 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.7152, allocations: 0.9145 MB / 0.7623 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7152, allocations: 4 kB / 0.7623 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008826/0.7161, allocations: 485.2 kB / 0.7628 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.7173, allocations: 283.3 kB / 0.763 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.7214, allocations: 1.992 MB / 0.765 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.7221, allocations: 0.9948 MB / 0.766 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007983/0.7229, allocations: 249.9 kB / 0.7662 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.7232, allocations: 99.39 kB / 0.7663 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.7232, allocations: 0 / 0.7663 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of Templates: time 0.02375/0.7469, allocations: 13.39 MB / 0.7794 GB, free: 4.23 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)