Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 107.7 kB / 16.36 MB, free: 6.285 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.001727/0.001727, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8058/0.8058, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.89 kB / 0.5067 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3469, allocations: 80.91 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004942/0.3519, allocations: 4.168 MB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1532/0.5051, allocations: 150.6 MB / 0.7369 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009045/0.506, allocations: 19.88 kB / 0.737 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.5066, allocations: 162.5 kB / 0.7371 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.5086, allocations: 0.4929 MB / 0.7376 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.5104, allocations: 0.7975 MB / 0.7384 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.5117, allocations: 1.207 MB / 0.7396 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008065/0.5126, allocations: 0.6195 MB / 0.7402 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005515/0.5131, allocations: 450.3 kB / 0.7406 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.5136, allocations: 461.9 kB / 0.741 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.5137, allocations: 104 kB / 0.7411 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008118/0.5145, allocations: 475.6 kB / 0.7416 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.5148, allocations: 271.1 kB / 0.7418 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.5152, allocations: 0.5051 MB / 0.7423 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.5166, allocations: 1.503 MB / 0.7438 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5167, allocations: 4 kB / 0.7438 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5167, allocations: 0 / 0.7438 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.5167, allocations: 0 / 0.7438 GB, free: 8.113 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002032/0.5187, allocations: 1.342 MB / 0.7451 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5188, allocations: 13.11 kB / 0.7451 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008495/0.5196, allocations: 183.5 kB / 0.7453 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/0.5206, allocations: 0.7306 MB / 0.746 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.5207, allocations: 62 kB / 0.7461 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.5208, allocations: 83.94 kB / 0.7462 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.5221, allocations: 0.8871 MB / 0.747 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5221, allocations: 0 / 0.747 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/0.5222, allocations: 32 kB / 0.7471 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.5222, allocations: 20 kB / 0.7471 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.5238, allocations: 1.093 MB / 0.7481 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.5275, allocations: 2.472 MB / 0.7506 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5287, allocations: 0.7374 MB / 0.7513 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3118/0.8405, allocations: 281.1 kB / 0.7515 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.8407, allocations: 39.02 kB / 0.7516 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.8418, allocations: 446.8 kB / 0.752 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 3.857e-06/0.8418, allocations: 3.719 kB / 0.752 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003422/0.8453, allocations: 1.108 MB / 0.7531 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.8454, allocations: 194.7 kB / 0.7533 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.8462, allocations: 0.5951 MB / 0.7539 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.8462, allocations: 41.95 kB / 0.7539 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.8465, allocations: 379.9 kB / 0.7543 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.8467, allocations: 254 kB / 0.7545 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.847, allocations: 159.6 kB / 0.7547 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8472, allocations: 385.8 kB / 0.755 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.8477, allocations: 250.4 kB / 0.7553 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/0.8484, allocations: 345.1 kB / 0.7556 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.8496, allocations: 0.5839 MB / 0.7562 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8496, allocations: 1.406 kB / 0.7562 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002122/0.8517, allocations: 0.8189 MB / 0.757 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.8517, allocations: 8.109 kB / 0.757 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8518, allocations: 1.5 kB / 0.757 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.8524, allocations: 86.45 kB / 0.7571 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.8531, allocations: 154.6 kB / 0.7572 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.8549, allocations: 1.631 MB / 0.7588 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.8556, allocations: 81.12 kB / 0.7589 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.807e-05/0.8557, allocations: 36.81 kB / 0.7589 GB, free: 161.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 (89): * Single equations (assignments): 88 * 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.0004844/0.8562, allocations: 259.1 kB / 0.7592 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.8564, allocations: 76.19 kB / 0.7592 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.8589, allocations: 1.021 MB / 0.7602 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.8589, allocations: 17.39 kB / 0.7602 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8589, allocations: 0.5312 kB / 0.7602 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.8589, allocations: 7.578 kB / 0.7602 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.8619, allocations: 1.883 MB / 0.7621 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.862, allocations: 0 / 0.7621 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.8625, allocations: 145 kB / 0.7622 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/0.8629, allocations: 73.22 kB / 0.7623 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.863, allocations: 23.11 kB / 0.7623 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.8645, allocations: 1.663 MB / 0.7639 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8645, allocations: 0 / 0.7639 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.8662, allocations: 0.9363 MB / 0.7649 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.8665, allocations: 253.2 kB / 0.7651 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.8666, allocations: 22.09 kB / 0.7651 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.8671, allocations: 54.09 kB / 0.7652 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.8673, allocations: 66.56 kB / 0.7652 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.8673, allocations: 29.95 kB / 0.7653 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004188/0.8678, allocations: 444.1 kB / 0.7657 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8678, allocations: 0 / 0.7657 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007659/0.8685, allocations: 292.4 kB / 0.766 GB, free: 156.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 (87): * Single equations (assignments): 84 * 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.001194/0.8697, allocations: 0.5983 MB / 0.7665 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.871, allocations: 0.7974 MB / 0.7673 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.8711, allocations: 0 / 0.7673 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.8717, allocations: 0.4903 MB / 0.7678 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.8727, allocations: 297.5 kB / 0.7681 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.8755, allocations: 1.669 MB / 0.7697 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.8759, allocations: 1.006 MB / 0.7707 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005972/0.8765, allocations: 252.8 kB / 0.7709 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.8767, allocations: 107.8 kB / 0.771 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.402e-06/0.8767, allocations: 0 / 0.771 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.01756/0.8943, allocations: 14.12 MB / 0.7848 GB, free: 138.2 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)