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.001171/0.001171, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001378/0.001378, allocations: 192 kB / 17.31 MB, free: 5.18 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7853/0.7853, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 63.89 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3826, allocations: 80.92 MB / 0.5858 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005197/0.3879, allocations: 4.11 MB / 0.5898 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1626/0.5505, allocations: 150.5 MB / 0.7367 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.5514, allocations: 15.94 kB / 0.7367 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.552, allocations: 166.4 kB / 0.7369 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.5536, allocations: 484.6 kB / 0.7374 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.5554, allocations: 0.7892 MB / 0.7381 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.5566, allocations: 1.188 MB / 0.7393 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.5574, allocations: 0.6155 MB / 0.7399 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.558, allocations: 442.4 kB / 0.7403 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.5584, allocations: 442 kB / 0.7407 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.5586, allocations: 104 kB / 0.7408 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000822/0.5594, allocations: 467.6 kB / 0.7413 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.5596, allocations: 275.1 kB / 0.7415 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.56, allocations: 0.4896 MB / 0.742 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.5615, allocations: 1.48 MB / 0.7435 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5615, allocations: 0 / 0.7435 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5615, allocations: 0 / 0.7435 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.5615, allocations: 4 kB / 0.7435 GB, free: 8.672 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.002073/0.5636, allocations: 1.322 MB / 0.7448 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.5636, allocations: 9.109 kB / 0.7448 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.5645, allocations: 179.4 kB / 0.7449 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5656, allocations: 0.7228 MB / 0.7457 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.5656, allocations: 66 kB / 0.7457 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5657, allocations: 76 kB / 0.7458 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.5671, allocations: 0.8598 MB / 0.7466 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.5671, allocations: 0 / 0.7466 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.5672, allocations: 32 kB / 0.7467 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.5672, allocations: 20 kB / 0.7467 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.5688, allocations: 1.065 MB / 0.7477 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.5723, allocations: 2.351 MB / 0.75 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.5735, allocations: 0.7937 MB / 0.7508 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.574, allocations: 278.4 kB / 0.7511 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/0.5741, allocations: 36.53 kB / 0.7511 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.5748, allocations: 423.2 kB / 0.7515 GB, free: 212 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 2.073e-06/0.5748, allocations: 0 / 0.7515 GB, free: 212 kB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.309/0.8838, allocations: 1.075 MB / 0.7525 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.8839, allocations: 190.1 kB / 0.7527 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.8847, allocations: 0.5871 MB / 0.7533 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.8848, allocations: 37.36 kB / 0.7533 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.885, allocations: 376.1 kB / 0.7537 GB, free: 165 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.8851, allocations: 239.8 kB / 0.7539 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.8854, allocations: 153.7 kB / 0.7541 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8855, allocations: 377 kB / 0.7544 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.8859, allocations: 238 kB / 0.7547 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.8864, allocations: 327.8 kB / 0.755 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.8875, allocations: 0.5518 MB / 0.7555 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8875, allocations: 2.406 kB / 0.7555 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001866/0.8893, allocations: 0.7681 MB / 0.7563 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.8894, allocations: 5.562 kB / 0.7563 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.8894, allocations: 1.5 kB / 0.7563 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.89, allocations: 80.91 kB / 0.7563 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.8907, allocations: 151.5 kB / 0.7565 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.8926, allocations: 1.625 MB / 0.7581 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006373/0.8933, allocations: 80.44 kB / 0.7581 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.8934, allocations: 32.81 kB / 0.7582 GB, free: 162.1 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.0004033/0.8938, allocations: 257 kB / 0.7584 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.8939, allocations: 76.66 kB / 0.7585 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.8962, allocations: 0.998 MB / 0.7595 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.8962, allocations: 8.719 kB / 0.7595 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.8963, allocations: 5.016 kB / 0.7595 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.8963, allocations: 3.656 kB / 0.7595 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.8994, allocations: 1.849 MB / 0.7613 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.8994, allocations: 1.188 kB / 0.7613 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.9, allocations: 144.7 kB / 0.7614 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.9004, allocations: 74.77 kB / 0.7615 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.9005, allocations: 24.45 kB / 0.7615 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.902, allocations: 1.664 MB / 0.7632 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9021, allocations: 3.375 kB / 0.7632 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.9038, allocations: 0.9216 MB / 0.7641 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.9041, allocations: 252.6 kB / 0.7643 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.9042, allocations: 17.06 kB / 0.7643 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.9048, allocations: 54.91 kB / 0.7644 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.9049, allocations: 58.92 kB / 0.7644 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.905, allocations: 33.69 kB / 0.7645 GB, free: 158 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004844/0.9055, allocations: 430 kB / 0.7649 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9055, allocations: 0 / 0.7649 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000851/0.9063, allocations: 289.2 kB / 0.7651 GB, free: 157.7 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.001262/0.9076, allocations: 0.5974 MB / 0.7657 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.9089, allocations: 0.7565 MB / 0.7665 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.909, allocations: 0 / 0.7665 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006878/0.9096, allocations: 496.1 kB / 0.7669 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/0.9107, allocations: 289.6 kB / 0.7672 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.9136, allocations: 1.636 MB / 0.7688 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.9139, allocations: 1.001 MB / 0.7698 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000628/0.9146, allocations: 249 kB / 0.77 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.9148, allocations: 99.8 kB / 0.7701 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of SimCode: time 4.2e-07/0.9148, allocations: 2.516 kB / 0.7701 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01796/0.9327, allocations: 13.8 MB / 0.7836 GB, free: 139.9 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)