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.00121/0.00121, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001236/0.001236, allocations: 192.1 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7539/0.7539, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.317, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004567/0.3216, allocations: 4.115 MB / 0.5898 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1388/0.4604, allocations: 150.5 MB / 0.7367 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000755/0.4612, allocations: 19.88 kB / 0.7367 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006586/0.462, allocations: 162.5 kB / 0.7369 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.4635, allocations: 485 kB / 0.7374 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.4652, allocations: 0.7907 MB / 0.7381 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.4662, allocations: 1.188 MB / 0.7393 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/0.4669, allocations: 0.6077 MB / 0.7399 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.4674, allocations: 434.5 kB / 0.7403 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.4678, allocations: 457.9 kB / 0.7407 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.4679, allocations: 104 kB / 0.7408 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.4686, allocations: 467.6 kB / 0.7413 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.4688, allocations: 267.2 kB / 0.7415 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.4692, allocations: 0.4973 MB / 0.742 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.4705, allocations: 1.468 MB / 0.7435 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4705, allocations: 7.984 kB / 0.7435 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4705, allocations: 0 / 0.7435 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.4705, allocations: 0 / 0.7435 GB, free: 8.539 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001851/0.4724, allocations: 1.322 MB / 0.7448 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4724, allocations: 13.11 kB / 0.7448 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/0.4732, allocations: 183.4 kB / 0.7449 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.4742, allocations: 0.7228 MB / 0.7456 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.4742, allocations: 62 kB / 0.7457 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.4743, allocations: 72 kB / 0.7458 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.4756, allocations: 0.8637 MB / 0.7466 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4756, allocations: 3.938 kB / 0.7466 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.4757, allocations: 32 kB / 0.7467 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.4757, allocations: 20 kB / 0.7467 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.4772, allocations: 1.061 MB / 0.7477 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.4803, allocations: 2.347 MB / 0.75 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.4815, allocations: 0.7881 MB / 0.7508 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.4819, allocations: 282.3 kB / 0.751 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-05/0.482, allocations: 36.58 kB / 0.7511 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006395/0.4827, allocations: 427.1 kB / 0.7515 GB, free: 72 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 1.963e-06/0.4827, allocations: 0 / 0.7515 GB, free: 72 kB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.2362/0.7189, allocations: 1.07 MB / 0.7525 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.719, allocations: 195.6 kB / 0.7527 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.7197, allocations: 0.5834 MB / 0.7533 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.7197, allocations: 42.42 kB / 0.7533 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.7199, allocations: 373.1 kB / 0.7537 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.7201, allocations: 240.9 kB / 0.7539 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.7203, allocations: 156.1 kB / 0.7541 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.7204, allocations: 376 kB / 0.7544 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.7208, allocations: 237.9 kB / 0.7546 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.7213, allocations: 326.1 kB / 0.755 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/0.7223, allocations: 0.5506 MB / 0.7555 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7223, allocations: 1.188 kB / 0.7555 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001754/0.7241, allocations: 0.7637 MB / 0.7562 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.7241, allocations: 5.891 kB / 0.7562 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7241, allocations: 1.406 kB / 0.7562 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.7247, allocations: 82.56 kB / 0.7563 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.7253, allocations: 154 kB / 0.7565 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04681/0.7721, allocations: 1.625 MB / 0.7581 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/0.7731, allocations: 78.83 kB / 0.7581 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.7732, allocations: 35.91 kB / 0.7582 GB, free: 161.9 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.0004743/0.7737, allocations: 255 kB / 0.7584 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.7739, allocations: 74.72 kB / 0.7585 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.7763, allocations: 1.002 MB / 0.7595 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.7763, allocations: 8.688 kB / 0.7595 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7763, allocations: 0.6875 kB / 0.7595 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.7763, allocations: 3.703 kB / 0.7595 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.7793, allocations: 1.857 MB / 0.7613 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.7793, allocations: 1.719 kB / 0.7613 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.7798, allocations: 149.3 kB / 0.7614 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.7802, allocations: 68.48 kB / 0.7615 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.7803, allocations: 23.39 kB / 0.7615 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.7817, allocations: 1.662 MB / 0.7631 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7817, allocations: 1.594 kB / 0.7631 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.7833, allocations: 0.9214 MB / 0.764 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.7835, allocations: 250.1 kB / 0.7643 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.7836, allocations: 20.23 kB / 0.7643 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.7841, allocations: 56.31 kB / 0.7644 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7843, allocations: 62.19 kB / 0.7644 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.7843, allocations: 34.73 kB / 0.7644 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004102/0.7847, allocations: 425 kB / 0.7649 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7847, allocations: 0.5469 kB / 0.7649 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007259/0.7855, allocations: 288.8 kB / 0.7651 GB, free: 157.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 (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.001141/0.7866, allocations: 0.6015 MB / 0.7657 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.7878, allocations: 0.761 MB / 0.7665 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7878, allocations: 1.781 kB / 0.7665 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.7885, allocations: 492.2 kB / 0.7669 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.7894, allocations: 292.2 kB / 0.7672 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.792, allocations: 1.64 MB / 0.7688 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.7924, allocations: 1.003 MB / 0.7698 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005424/0.7929, allocations: 253.4 kB / 0.77 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.7931, allocations: 103.4 kB / 0.7701 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.7931, allocations: 0 / 0.7701 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02589/0.819, allocations: 13.8 MB / 0.7836 GB, free: 139.7 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)