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.0007968/0.0007968, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006064/0.006064, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9795/0.9795, allocations: 135.3 MB / 426.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003806, allocations: 9.188 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.179, allocations: 82.31 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00469/0.1837, allocations: 3.644 MB / 0.5915 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4843/0.6681, allocations: 146.5 MB / 0.7346 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006671/0.6688, allocations: 13.84 kB / 0.7346 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.6694, allocations: 134.9 kB / 0.7348 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.6709, allocations: 399.6 kB / 0.7351 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.6728, allocations: 0.6784 MB / 0.7358 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.6742, allocations: 1.075 MB / 0.7369 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000935/0.6752, allocations: 0.5571 MB / 0.7374 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.6758, allocations: 296 kB / 0.7377 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.6763, allocations: 315 kB / 0.738 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.6765, allocations: 21.25 kB / 0.738 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009343/0.6774, allocations: 362.8 kB / 0.7384 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.6777, allocations: 172.5 kB / 0.7385 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.6782, allocations: 403.9 kB / 0.7389 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.6801, allocations: 1.326 MB / 0.7402 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6801, allocations: 0 / 0.7402 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6801, allocations: 0 / 0.7402 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.574e-05/0.6802, allocations: 0 / 0.7402 GB, free: 12.21 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.002256/0.6824, allocations: 1.112 MB / 0.7413 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.6825, allocations: 9.031 kB / 0.7413 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.6835, allocations: 190.2 kB / 0.7415 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.6847, allocations: 0.6927 MB / 0.7421 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.6847, allocations: 61.28 kB / 0.7422 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.6849, allocations: 75.41 kB / 0.7423 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.6866, allocations: 0.8508 MB / 0.7431 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6866, allocations: 1.375 kB / 0.7431 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.489e-05/0.6867, allocations: 35.97 kB / 0.7431 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.6868, allocations: 18.84 kB / 0.7432 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.6886, allocations: 1.052 MB / 0.7442 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004117/0.6928, allocations: 2.36 MB / 0.7465 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.694, allocations: 0.7861 MB / 0.7473 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.6946, allocations: 273.1 kB / 0.7475 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/0.6947, allocations: 25.73 kB / 0.7475 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007995/0.6955, allocations: 417.5 kB / 0.7479 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/0.6955, allocations: 0 / 0.7479 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002916/0.6984, allocations: 1.072 MB / 0.749 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.6985, allocations: 192.5 kB / 0.7492 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007615/0.6993, allocations: 0.5855 MB / 0.7497 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.6994, allocations: 41.3 kB / 0.7498 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.6997, allocations: 361.9 kB / 0.7501 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.6999, allocations: 228.9 kB / 0.7503 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.6999, allocations: 63.2 kB / 0.7504 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7001, allocations: 383 kB / 0.7508 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.7006, allocations: 233.3 kB / 0.751 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.7011, allocations: 322.6 kB / 0.7513 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/0.7021, allocations: 0.5468 MB / 0.7518 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7021, allocations: 0 / 0.7518 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001735/0.7038, allocations: 0.7548 MB / 0.7526 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.7039, allocations: 8 kB / 0.7526 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7039, allocations: 0 / 0.7526 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.7045, allocations: 88.84 kB / 0.7527 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.7051, allocations: 143.8 kB / 0.7528 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.7071, allocations: 1.512 MB / 0.7543 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.7078, allocations: 96.58 kB / 0.7544 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.7079, allocations: 31.97 kB / 0.7544 GB, free: 1.426 MB / 0.5606 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.0004482/0.7083, allocations: 252.5 kB / 0.7546 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.7084, allocations: 71.16 kB / 0.7547 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.7106, allocations: 0.9705 MB / 0.7557 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.7106, allocations: 8 kB / 0.7557 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7106, allocations: 3.938 kB / 0.7557 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.7106, allocations: 11.98 kB / 0.7557 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.7136, allocations: 1.793 MB / 0.7574 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7136, allocations: 0 / 0.7574 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.7141, allocations: 131.8 kB / 0.7576 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/0.7147, allocations: 92.75 kB / 0.7577 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.7147, allocations: 19.98 kB / 0.7577 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.7165, allocations: 1.551 MB / 0.7592 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7165, allocations: 0 / 0.7592 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.7183, allocations: 0.8908 MB / 0.7601 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.7187, allocations: 271.7 kB / 0.7603 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.7188, allocations: 16 kB / 0.7603 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.7194, allocations: 69.58 kB / 0.7604 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.7195, allocations: 56.98 kB / 0.7604 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.7195, allocations: 35.98 kB / 0.7605 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005241/0.7201, allocations: 419.1 kB / 0.7609 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7201, allocations: 0 / 0.7609 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008734/0.721, allocations: 291.2 kB / 0.7612 GB, free: 10.26 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.001309/0.7223, allocations: 0.5827 MB / 0.7617 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.7238, allocations: 0.7426 MB / 0.7625 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7238, allocations: 0 / 0.7625 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000797/0.7246, allocations: 489 kB / 0.7629 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.7259, allocations: 255.7 kB / 0.7632 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.7297, allocations: 2.049 MB / 0.7652 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.7302, allocations: 0.9838 MB / 0.7661 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000807/0.731, allocations: 265.8 kB / 0.7664 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.7313, allocations: 99.39 kB / 0.7665 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.7313, allocations: 0 / 0.7665 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of Templates: time 0.02287/0.7541, allocations: 12.87 MB / 0.779 GB, free: 8.234 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)