Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 116.6 kB / 16.37 MB, free: 6.012 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.001357/0.001357, allocations: 191.8 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7769/0.7769, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.89 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3914, allocations: 80.9 MB / 0.5858 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006123/0.3976, allocations: 4.215 MB / 0.5899 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.162/0.5596, allocations: 150.6 MB / 0.7369 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008134/0.5605, allocations: 15.94 kB / 0.7369 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.561, allocations: 178.4 kB / 0.7371 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.5625, allocations: 488.8 kB / 0.7376 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.5642, allocations: 0.8287 MB / 0.7384 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.5653, allocations: 1.23 MB / 0.7396 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007601/0.5661, allocations: 0.6308 MB / 0.7402 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.5666, allocations: 446.5 kB / 0.7406 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/0.567, allocations: 469.9 kB / 0.7411 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.5672, allocations: 115.9 kB / 0.7412 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.5679, allocations: 499.6 kB / 0.7416 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.5682, allocations: 279.1 kB / 0.7419 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.5686, allocations: 0.509 MB / 0.7424 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.5699, allocations: 1.534 MB / 0.7439 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5699, allocations: 0 / 0.7439 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.737e-06/0.57, allocations: 4 kB / 0.7439 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.57, allocations: 0 / 0.7439 GB, free: 8.078 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002007/0.572, allocations: 1.357 MB / 0.7452 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.572, allocations: 17.11 kB / 0.7453 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000821/0.5729, allocations: 179.4 kB / 0.7454 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.5739, allocations: 0.7345 MB / 0.7461 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.574, allocations: 65.92 kB / 0.7462 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.5741, allocations: 80 kB / 0.7463 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5754, allocations: 0.8989 MB / 0.7472 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.5754, allocations: 0 / 0.7472 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.5755, allocations: 36 kB / 0.7472 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.5756, allocations: 20 kB / 0.7472 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.5771, allocations: 1.1 MB / 0.7483 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.5807, allocations: 2.488 MB / 0.7507 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.5824, allocations: 0.8689 MB / 0.7516 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3161/0.8986, allocations: 288.5 kB / 0.7518 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.8988, allocations: 34.31 kB / 0.7519 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.8999, allocations: 447.4 kB / 0.7523 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 5.109e-06/0.8999, allocations: 2.281 kB / 0.7523 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003395/0.9033, allocations: 1.117 MB / 0.7534 GB, free: 165 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.9034, allocations: 191 kB / 0.7536 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008494/0.9043, allocations: 0.5992 MB / 0.7542 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.9044, allocations: 38.11 kB / 0.7542 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.9047, allocations: 379 kB / 0.7546 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.9049, allocations: 256.8 kB / 0.7548 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.9052, allocations: 161.9 kB / 0.755 GB, free: 164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9053, allocations: 381.6 kB / 0.7553 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.9059, allocations: 251.9 kB / 0.7556 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.9065, allocations: 341.2 kB / 0.7559 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.9076, allocations: 0.581 MB / 0.7565 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.9077, allocations: 2.172 kB / 0.7565 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0021/0.9098, allocations: 0.813 MB / 0.7572 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.9098, allocations: 5.281 kB / 0.7573 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.9098, allocations: 1.578 kB / 0.7573 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/0.9105, allocations: 88.48 kB / 0.7573 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.9111, allocations: 153.8 kB / 0.7575 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.913, allocations: 1.629 MB / 0.7591 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.9137, allocations: 89.52 kB / 0.7592 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9139, allocations: 34.62 kB / 0.7592 GB, free: 161.3 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: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (88): * Single equations (assignments): 87 * 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.0005058/0.9144, allocations: 257.6 kB / 0.7594 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.9146, allocations: 80.8 kB / 0.7595 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.9174, allocations: 1.054 MB / 0.7605 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.9174, allocations: 13.38 kB / 0.7606 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9174, allocations: 0.5 kB / 0.7606 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.9174, allocations: 4.781 kB / 0.7606 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.9209, allocations: 1.929 MB / 0.7624 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9209, allocations: 1.062 kB / 0.7624 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.9215, allocations: 158.7 kB / 0.7626 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.922, allocations: 72.59 kB / 0.7627 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/0.922, allocations: 23.58 kB / 0.7627 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.9236, allocations: 1.663 MB / 0.7643 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9236, allocations: 3.984 kB / 0.7643 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.9256, allocations: 0.9572 MB / 0.7653 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.926, allocations: 266.8 kB / 0.7655 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.9261, allocations: 23.28 kB / 0.7655 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.9268, allocations: 55.94 kB / 0.7656 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.9269, allocations: 65.81 kB / 0.7656 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.927, allocations: 31.39 kB / 0.7657 GB, free: 157 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006368/0.9276, allocations: 433.3 kB / 0.7661 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9277, allocations: 1.75 kB / 0.7661 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001093/0.9288, allocations: 321.6 kB / 0.7664 GB, free: 156.6 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 (93): * Single equations (assignments): 90 * 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.001474/0.9302, allocations: 0.6052 MB / 0.767 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.9317, allocations: 0.8012 MB / 0.7678 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9318, allocations: 6.344 kB / 0.7678 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007815/0.9325, allocations: 0.5024 MB / 0.7683 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.9336, allocations: 301.4 kB / 0.7686 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.9369, allocations: 1.7 MB / 0.7702 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.9374, allocations: 1.014 MB / 0.7712 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006791/0.9381, allocations: 259.8 kB / 0.7715 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.9383, allocations: 99.39 kB / 0.7715 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.9383, allocations: 0 / 0.7715 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02011/0.9585, allocations: 14.31 MB / 0.7855 GB, free: 137.6 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)