Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001595/0.001595, allocations: 114.6 kB / 16.37 MB, free: 6.012 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.001812/0.001812, allocations: 192.6 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.364/1.364, 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/package.mo): time 0.7832/0.7832, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3613, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00521/0.3665, allocations: 4.123 MB / 0.5855 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1509/0.5174, allocations: 150.5 MB / 0.7325 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.5182, allocations: 15.94 kB / 0.7325 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.5188, allocations: 166.4 kB / 0.7326 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.5203, allocations: 491.4 kB / 0.7331 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.5221, allocations: 0.7831 MB / 0.7339 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.5233, allocations: 1.188 MB / 0.735 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.5241, allocations: 0.6116 MB / 0.7356 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.5247, allocations: 442.4 kB / 0.736 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.5252, allocations: 445.9 kB / 0.7365 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.5253, allocations: 104 kB / 0.7366 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009228/0.5262, allocations: 471.6 kB / 0.737 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.5265, allocations: 263.2 kB / 0.7373 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005364/0.527, allocations: 0.4973 MB / 0.7378 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.5288, allocations: 1.476 MB / 0.7392 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.5288, allocations: 4 kB / 0.7392 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5288, allocations: 0 / 0.7392 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.5288, allocations: 4 kB / 0.7392 GB, free: 12.18 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.002155/0.531, allocations: 1.322 MB / 0.7405 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.531, allocations: 11.97 kB / 0.7405 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009249/0.532, allocations: 179.5 kB / 0.7407 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5332, allocations: 0.7228 MB / 0.7414 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.5333, allocations: 62 kB / 0.7414 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5334, allocations: 76 kB / 0.7415 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.5348, allocations: 0.8637 MB / 0.7424 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5349, allocations: 0 / 0.7424 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/0.5349, allocations: 32 kB / 0.7424 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.535, allocations: 20 kB / 0.7424 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.5366, allocations: 1.061 MB / 0.7434 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.5403, allocations: 2.351 MB / 0.7457 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.5416, allocations: 0.7929 MB / 0.7465 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.5421, allocations: 276.4 kB / 0.7468 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.925e-05/0.5422, allocations: 40.58 kB / 0.7468 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000732/0.5429, allocations: 419.2 kB / 0.7472 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/0.5429, allocations: 0 / 0.7472 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002847/0.5458, allocations: 1.077 MB / 0.7483 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5459, allocations: 192.6 kB / 0.7485 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/0.5466, allocations: 0.59 MB / 0.749 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.5467, allocations: 37.7 kB / 0.7491 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.547, allocations: 372.3 kB / 0.7494 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.5471, allocations: 244.5 kB / 0.7497 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.5474, allocations: 154.5 kB / 0.7498 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5475, allocations: 374.8 kB / 0.7502 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.548, allocations: 237.9 kB / 0.7504 GB, free: 376 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.5485, allocations: 330.7 kB / 0.7507 GB, free: 28 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2933/0.8418, allocations: 0.5402 MB / 0.7512 GB, free: 167 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.8418, allocations: 3.75 kB / 0.7512 GB, free: 167 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002158/0.844, allocations: 0.7593 MB / 0.752 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.844, allocations: 6.312 kB / 0.752 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.8441, allocations: 2.062 kB / 0.752 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.8447, allocations: 86.28 kB / 0.7521 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.8454, allocations: 146.8 kB / 0.7522 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.8474, allocations: 1.631 MB / 0.7538 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/0.8481, allocations: 74.36 kB / 0.7539 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.8482, allocations: 39.52 kB / 0.7539 GB, free: 165.3 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.0004344/0.8486, allocations: 257.9 kB / 0.7542 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.8488, allocations: 75.02 kB / 0.7542 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.8513, allocations: 0.994 MB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.8513, allocations: 8.781 kB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8513, allocations: 5.391 kB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.8513, allocations: 4.641 kB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/0.8548, allocations: 1.859 MB / 0.757 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8549, allocations: 0.5938 kB / 0.757 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.8555, allocations: 149.6 kB / 0.7572 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.8559, allocations: 69.67 kB / 0.7572 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.856, allocations: 21.05 kB / 0.7573 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.8578, allocations: 1.658 MB / 0.7589 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8578, allocations: 0.8125 kB / 0.7589 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.8601, allocations: 0.9207 MB / 0.7598 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.8605, allocations: 251.3 kB / 0.76 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.8607, allocations: 18 kB / 0.76 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.8612, allocations: 52.59 kB / 0.7601 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.8614, allocations: 64.56 kB / 0.7601 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.8615, allocations: 31.75 kB / 0.7602 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005815/0.8621, allocations: 427.8 kB / 0.7606 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.41e-07/0.8621, allocations: 3.094 kB / 0.7606 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009803/0.863, allocations: 290.7 kB / 0.7609 GB, free: 161.3 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.001265/0.8643, allocations: 0.5923 MB / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.8658, allocations: 0.7584 MB / 0.7622 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8658, allocations: 0.5312 kB / 0.7622 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.8666, allocations: 491.7 kB / 0.7626 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.8677, allocations: 294.5 kB / 0.7629 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.8713, allocations: 1.643 MB / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.8718, allocations: 1.006 MB / 0.7655 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007549/0.8726, allocations: 252.5 kB / 0.7658 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.8728, allocations: 104.7 kB / 0.7659 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.8728, allocations: 0 / 0.7659 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02106/0.8939, allocations: 13.79 MB / 0.7793 GB, free: 146 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)