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.009684/0.009684, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.002201/0.002201, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8432/0.8432, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 62.92 kB / 0.5856 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1882, allocations: 80.92 MB / 0.6646 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005987/0.1942, allocations: 4.119 MB / 0.6687 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6445/0.8388, allocations: 150.5 MB / 0.8156 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008539/0.8397, allocations: 21.06 kB / 0.8156 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.8403, allocations: 164 kB / 0.8158 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.8418, allocations: 480.5 kB / 0.8162 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.8437, allocations: 0.7976 MB / 0.817 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.8449, allocations: 1.187 MB / 0.8182 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000942/0.8458, allocations: 0.6097 MB / 0.8188 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.8463, allocations: 443.6 kB / 0.8192 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.8468, allocations: 445.8 kB / 0.8196 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.8469, allocations: 102.9 kB / 0.8197 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.8478, allocations: 471.9 kB / 0.8202 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.848, allocations: 274.4 kB / 0.8204 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.8485, allocations: 0.4928 MB / 0.8209 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.8502, allocations: 1.477 MB / 0.8224 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8502, allocations: 0 / 0.8224 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8502, allocations: 2.781 kB / 0.8224 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.8502, allocations: 0 / 0.8224 GB, free: 5.582 MB / 0.5919 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.002227/0.8525, allocations: 1.319 MB / 0.8236 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.8525, allocations: 10.52 kB / 0.8237 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009148/0.8534, allocations: 178 kB / 0.8238 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.8546, allocations: 0.7245 MB / 0.8245 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.8546, allocations: 58.53 kB / 0.8246 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.8547, allocations: 86.47 kB / 0.8247 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.8562, allocations: 0.8574 MB / 0.8255 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.8562, allocations: 2.219 kB / 0.8255 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.8563, allocations: 35.42 kB / 0.8255 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.8563, allocations: 19.88 kB / 0.8256 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.8579, allocations: 1.061 MB / 0.8266 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.8614, allocations: 2.342 MB / 0.8289 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.8627, allocations: 0.7893 MB / 0.8297 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.8632, allocations: 277.4 kB / 0.8299 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.415e-05/0.8632, allocations: 32.72 kB / 0.83 GB, free: 284 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007493/0.864, allocations: 431.1 kB / 0.8304 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 4.338e-06/0.864, allocations: 0 / 0.8304 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72): time 0.002707/0.8667, allocations: 1.076 MB / 0.8314 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.8669, allocations: 187.8 kB / 0.8316 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000671/0.8675, allocations: 0.5922 MB / 0.8322 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.8676, allocations: 35.73 kB / 0.8322 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.8679, allocations: 377.8 kB / 0.8326 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.868, allocations: 239.2 kB / 0.8328 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.8683, allocations: 153.1 kB / 0.8329 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8684, allocations: 384 kB / 0.8333 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.8689, allocations: 233.8 kB / 0.8335 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.8694, allocations: 322.9 kB / 0.8338 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009673/0.8704, allocations: 0.5591 MB / 0.8344 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8704, allocations: 0 / 0.8344 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001668/0.872, allocations: 0.7654 MB / 0.8351 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8721, allocations: 5.25 kB / 0.8351 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.8721, allocations: 2.719 kB / 0.8351 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.8727, allocations: 86.92 kB / 0.8352 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.8733, allocations: 144.1 kB / 0.8354 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.8752, allocations: 1.628 MB / 0.8369 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.8758, allocations: 86.09 kB / 0.837 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.8759, allocations: 27.86 kB / 0.8371 GB, free: 11.06 MB / 0.6075 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.0003324/0.8762, allocations: 258.9 kB / 0.8373 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.8764, allocations: 78.28 kB / 0.8374 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.8784, allocations: 0.9947 MB / 0.8383 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.8784, allocations: 6.844 kB / 0.8384 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.8785, allocations: 7.188 kB / 0.8384 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.8785, allocations: 7.969 kB / 0.8384 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.8813, allocations: 1.847 MB / 0.8402 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.8813, allocations: 3.984 kB / 0.8402 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.8819, allocations: 150.6 kB / 0.8403 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004061/0.8823, allocations: 74.11 kB / 0.8404 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.8823, allocations: 23.95 kB / 0.8404 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.8842, allocations: 1.657 MB / 0.842 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.8842, allocations: 0 / 0.842 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.8859, allocations: 0.9164 MB / 0.8429 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.8863, allocations: 253 kB / 0.8432 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.8864, allocations: 24.8 kB / 0.8432 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.887, allocations: 48.95 kB / 0.8432 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.8871, allocations: 59.34 kB / 0.8433 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.8872, allocations: 36.08 kB / 0.8433 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005188/0.8877, allocations: 427.5 kB / 0.8437 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8877, allocations: 2.625 kB / 0.8437 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008669/0.8886, allocations: 283.8 kB / 0.844 GB, free: 6.121 MB / 0.6075 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.001609/0.8902, allocations: 0.61 MB / 0.8446 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.892, allocations: 0.7532 MB / 0.8453 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.8921, allocations: 0 / 0.8453 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009763/0.8931, allocations: 0.4935 MB / 0.8458 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.8944, allocations: 269.4 kB / 0.8461 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.8986, allocations: 1.655 MB / 0.8477 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.8993, allocations: 0.9954 MB / 0.8487 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008354/0.9002, allocations: 250.2 kB / 0.8489 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.9004, allocations: 103.4 kB / 0.849 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.9004, allocations: 4 kB / 0.849 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.02838/0.9288, allocations: 13.94 MB / 0.8626 GB, free: 3.934 MB / 0.6231 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)