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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6986/0.6986, allocations: 133.4 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 404.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009783/0.0009785, allocations: 94.28 kB / 485.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 47.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1295, allocations: 80.42 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005686/0.1352, allocations: 4.075 MB / 0.6461 GB, free: 1.344 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4276/0.5628, allocations: 148.1 MB / 0.7908 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.5637, allocations: 19.88 kB / 0.7908 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.5645, allocations: 129.9 kB / 0.7909 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.5661, allocations: 397.2 kB / 0.7913 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.5679, allocations: 0.6732 MB / 0.7919 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.5693, allocations: 1.079 MB / 0.793 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/0.5702, allocations: 0.5782 MB / 0.7936 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.5708, allocations: 366.4 kB / 0.7939 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.5714, allocations: 410 kB / 0.7943 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.5716, allocations: 48 kB / 0.7943 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008113/0.5724, allocations: 392.4 kB / 0.7947 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.5727, allocations: 215.1 kB / 0.7949 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.5733, allocations: 437.4 kB / 0.7953 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.5754, allocations: 1.379 MB / 0.7967 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5754, allocations: 0 / 0.7967 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5754, allocations: 0 / 0.7967 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.901e-05/0.5755, allocations: 0 / 0.7967 GB, free: 2.867 MB / 0.5261 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.003154/0.5786, allocations: 1.309 MB / 0.798 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5787, allocations: 8.031 kB / 0.798 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009492/0.5796, allocations: 179.2 kB / 0.7981 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.5807, allocations: 0.6998 MB / 0.7988 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.5808, allocations: 58 kB / 0.7989 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/0.5809, allocations: 76 kB / 0.7989 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5823, allocations: 0.8364 MB / 0.7998 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.5824, allocations: 0 / 0.7998 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.5824, allocations: 32 kB / 0.7998 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.5825, allocations: 23.98 kB / 0.7998 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.5841, allocations: 1.05 MB / 0.8008 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.5876, allocations: 2.33 MB / 0.8031 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.5889, allocations: 0.7703 MB / 0.8039 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.5894, allocations: 274.4 kB / 0.8041 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.772e-05/0.5895, allocations: 28.58 kB / 0.8042 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007457/0.5902, allocations: 417.7 kB / 0.8046 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 1.933e-06/0.5903, allocations: 0 / 0.8046 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=70): time 0.002835/0.5931, allocations: 1.05 MB / 0.8056 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.5932, allocations: 196.4 kB / 0.8058 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/0.5939, allocations: 0.5821 MB / 0.8063 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.5939, allocations: 37.7 kB / 0.8064 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.5942, allocations: 368.4 kB / 0.8067 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.5944, allocations: 228.6 kB / 0.8069 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.5946, allocations: 142.5 kB / 0.8071 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5947, allocations: 382.8 kB / 0.8074 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.5952, allocations: 229.9 kB / 0.8077 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.5957, allocations: 318.8 kB / 0.808 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/0.5967, allocations: 0.5351 MB / 0.8085 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5967, allocations: 0 / 0.8085 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001736/0.5985, allocations: 0.7554 MB / 0.8092 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5985, allocations: 4 kB / 0.8092 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5985, allocations: 0 / 0.8092 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/0.5991, allocations: 80.88 kB / 0.8093 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.5997, allocations: 147.8 kB / 0.8095 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.6016, allocations: 1.511 MB / 0.8109 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.6022, allocations: 87.2 kB / 0.811 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.6023, allocations: 27.98 kB / 0.811 GB, free: 3.633 MB / 0.5417 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.0003519/0.6027, allocations: 267 kB / 0.8113 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.6028, allocations: 71.16 kB / 0.8114 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.605, allocations: 0.9519 MB / 0.8123 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.605, allocations: 11.94 kB / 0.8123 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.605, allocations: 0 / 0.8123 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.605, allocations: 3.984 kB / 0.8123 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.608, allocations: 1.793 MB / 0.8141 GB, free: 484 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.608, allocations: 0 / 0.8141 GB, free: 484 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.6085, allocations: 131.9 kB / 0.8142 GB, free: 352 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.6091, allocations: 88.7 kB / 0.8143 GB, free: 260 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.6091, allocations: 28.05 kB / 0.8143 GB, free: 232 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.6109, allocations: 1.544 MB / 0.8158 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6109, allocations: 3.938 kB / 0.8158 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.6136, allocations: 1.873 MB / 0.8176 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.6139, allocations: 251.8 kB / 0.8179 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.614, allocations: 20 kB / 0.8179 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.6146, allocations: 48.88 kB / 0.8179 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.6147, allocations: 64.8 kB / 0.818 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.6148, allocations: 27.98 kB / 0.818 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004678/0.6153, allocations: 423.1 kB / 0.8184 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6153, allocations: 0 / 0.8184 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008412/0.6161, allocations: 283.3 kB / 0.8187 GB, free: 11.5 MB / 0.5573 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.001356/0.6175, allocations: 0.6048 MB / 0.8193 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.6189, allocations: 0.7323 MB / 0.82 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6189, allocations: 0 / 0.82 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.6198, allocations: 480.2 kB / 0.8205 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.621, allocations: 255 kB / 0.8207 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.6249, allocations: 2.412 MB / 0.8231 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.6255, allocations: 1.007 MB / 0.824 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007413/0.6263, allocations: 250 kB / 0.8243 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.6265, allocations: 91.39 kB / 0.8244 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.6265, allocations: 0 / 0.8244 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of Templates: time 0.02294/0.6495, allocations: 13.3 MB / 0.8374 GB, free: 8.59 MB / 0.573 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)