Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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-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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001632, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9631/0.9631, allocations: 135.1 MB / 425.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 68.3 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1987, allocations: 80.92 MB / 0.5844 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007157/0.2059, allocations: 4.118 MB / 0.5884 GB, free: 448 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5852/0.7911, allocations: 150.5 MB / 0.7353 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008696/0.792, allocations: 19.19 kB / 0.7353 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.7926, allocations: 160.6 kB / 0.7355 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.7942, allocations: 484.1 kB / 0.7359 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.7965, allocations: 0.7839 MB / 0.7367 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.798, allocations: 1.18 MB / 0.7379 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009108/0.7989, allocations: 0.6146 MB / 0.7385 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.7996, allocations: 435.7 kB / 0.7389 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.8001, allocations: 446.5 kB / 0.7393 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.8003, allocations: 102.8 kB / 0.7394 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008972/0.8012, allocations: 449.8 kB / 0.7398 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.8014, allocations: 269.4 kB / 0.7401 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.8019, allocations: 0.4931 MB / 0.7406 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.8036, allocations: 1.436 MB / 0.742 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8036, allocations: 0 / 0.742 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8036, allocations: 4 kB / 0.742 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.8036, allocations: 1.188 kB / 0.742 GB, free: 8.551 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002323/0.806, allocations: 1.32 MB / 0.7433 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.806, allocations: 12.53 kB / 0.7433 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009375/0.807, allocations: 180.1 kB / 0.7435 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.808, allocations: 0.6981 MB / 0.7441 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.808, allocations: 66.11 kB / 0.7442 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/0.8081, allocations: 78.88 kB / 0.7443 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.8095, allocations: 0.8585 MB / 0.7451 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.8096, allocations: 7.969 kB / 0.7451 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.8097, allocations: 36.09 kB / 0.7452 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.8097, allocations: 24.78 kB / 0.7452 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.8112, allocations: 1.061 MB / 0.7462 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.8148, allocations: 2.366 MB / 0.7485 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.816, allocations: 0.794 MB / 0.7493 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.8165, allocations: 280.2 kB / 0.7496 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/0.8166, allocations: 25.66 kB / 0.7496 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007777/0.8174, allocations: 434.3 kB / 0.75 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 1.824e-06/0.8174, allocations: 0 / 0.75 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002855/0.8203, allocations: 1.077 MB / 0.7511 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.8204, allocations: 188.6 kB / 0.7512 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.8211, allocations: 0.5861 MB / 0.7518 GB, free: 1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/0.8212, allocations: 41.7 kB / 0.7518 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.8215, allocations: 368.3 kB / 0.7522 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.8217, allocations: 244.5 kB / 0.7524 GB, free: 352 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.8219, allocations: 150.5 kB / 0.7526 GB, free: 196 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.8221, allocations: 382.8 kB / 0.7529 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.8225, allocations: 241.8 kB / 0.7532 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/0.8231, allocations: 318.8 kB / 0.7535 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.8241, allocations: 0.5511 MB / 0.754 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.8241, allocations: 0 / 0.754 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001805/0.8259, allocations: 0.7742 MB / 0.7548 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8259, allocations: 8 kB / 0.7548 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.826, allocations: 4.094 kB / 0.7548 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/0.8266, allocations: 76.78 kB / 0.7549 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.8272, allocations: 147.8 kB / 0.755 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.8294, allocations: 1.63 MB / 0.7566 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.8301, allocations: 80.17 kB / 0.7567 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.8302, allocations: 31.98 kB / 0.7567 GB, free: 11.78 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 (83): * Single equations (assignments): 82 * 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.000459/0.8306, allocations: 249.7 kB / 0.7569 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.8308, allocations: 87.06 kB / 0.757 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.833, allocations: 0.9927 MB / 0.758 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.8331, allocations: 8 kB / 0.758 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.8331, allocations: 0 / 0.758 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.8331, allocations: 7.969 kB / 0.758 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.8362, allocations: 1.854 MB / 0.7598 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.8363, allocations: 0 / 0.7598 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.8368, allocations: 148.6 kB / 0.76 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.8373, allocations: 68.8 kB / 0.76 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.8373, allocations: 23.98 kB / 0.76 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.8392, allocations: 1.663 MB / 0.7617 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8393, allocations: 3.938 kB / 0.7617 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.8412, allocations: 0.9141 MB / 0.7626 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.8416, allocations: 251.8 kB / 0.7628 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.8417, allocations: 23.92 kB / 0.7628 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.8423, allocations: 47.95 kB / 0.7629 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.8425, allocations: 68.84 kB / 0.7629 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.8425, allocations: 31.64 kB / 0.763 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006006/0.8431, allocations: 439 kB / 0.7634 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8431, allocations: 0 / 0.7634 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001021/0.8442, allocations: 283.4 kB / 0.7637 GB, free: 4.395 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 (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.001522/0.8457, allocations: 0.6004 MB / 0.7642 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.8479, allocations: 0.9423 MB / 0.7652 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8479, allocations: 0 / 0.7652 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009077/0.8488, allocations: 0.4924 MB / 0.7656 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.85, allocations: 285.7 kB / 0.7659 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.8539, allocations: 1.654 MB / 0.7675 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.8545, allocations: 0.9993 MB / 0.7685 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008692/0.8554, allocations: 254.1 kB / 0.7687 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.8557, allocations: 99.33 kB / 0.7688 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.8557, allocations: 4 kB / 0.7688 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.02456/0.8802, allocations: 13.79 MB / 0.7823 GB, free: 1.605 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)