Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001545/0.001545, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001813/0.001813, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7685/0.7685, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3232, allocations: 80.19 MB / 0.5815 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00453/0.3278, allocations: 4.179 MB / 0.5856 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1442/0.472, allocations: 150.6 MB / 0.7327 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007827/0.4728, allocations: 19.88 kB / 0.7327 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.4734, allocations: 162.5 kB / 0.7328 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.4749, allocations: 0.4887 MB / 0.7333 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.4768, allocations: 0.7948 MB / 0.7341 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.4781, allocations: 1.219 MB / 0.7353 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008093/0.4789, allocations: 0.6234 MB / 0.7359 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.4794, allocations: 442.4 kB / 0.7363 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.4799, allocations: 469.8 kB / 0.7368 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.48, allocations: 104 kB / 0.7369 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007696/0.4808, allocations: 467.6 kB / 0.7373 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.4811, allocations: 287 kB / 0.7376 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.4815, allocations: 0.4973 MB / 0.7381 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.483, allocations: 1.503 MB / 0.7395 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.483, allocations: 0 / 0.7395 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.483, allocations: 3.938 kB / 0.7395 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.483, allocations: 0 / 0.7395 GB, free: 11.81 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.00204/0.485, allocations: 1.338 MB / 0.7409 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4851, allocations: 8.031 kB / 0.7409 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008756/0.486, allocations: 191.4 kB / 0.741 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.487, allocations: 0.7267 MB / 0.7418 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.4871, allocations: 58 kB / 0.7418 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.4872, allocations: 84 kB / 0.7419 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4886, allocations: 0.8889 MB / 0.7428 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4886, allocations: 3.938 kB / 0.7428 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.4887, allocations: 32 kB / 0.7428 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.4887, allocations: 23.98 kB / 0.7428 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.4904, allocations: 1.1 MB / 0.7439 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.4942, allocations: 2.464 MB / 0.7463 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.4954, allocations: 0.7258 MB / 0.747 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.4959, allocations: 290.7 kB / 0.7473 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-05/0.496, allocations: 36.53 kB / 0.7473 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007084/0.4967, allocations: 443.2 kB / 0.7477 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.154e-06/0.4967, allocations: 0 / 0.7477 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.0029/0.4996, allocations: 1.116 MB / 0.7488 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.4998, allocations: 192.5 kB / 0.749 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.5004, allocations: 0.6017 MB / 0.7496 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.5005, allocations: 41.7 kB / 0.7496 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.5008, allocations: 376.3 kB / 0.75 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.501, allocations: 256.3 kB / 0.7502 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.5012, allocations: 158.5 kB / 0.7504 GB, free: 372 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2168/0.718, allocations: 380.1 kB / 0.7508 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.7187, allocations: 248.9 kB / 0.751 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.7193, allocations: 346.7 kB / 0.7513 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.7203, allocations: 0.5827 MB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7203, allocations: 1.125 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001962/0.7223, allocations: 0.8175 MB / 0.7527 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7223, allocations: 9.547 kB / 0.7527 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7224, allocations: 4.531 kB / 0.7527 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/0.7229, allocations: 80.36 kB / 0.7528 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.7236, allocations: 153.2 kB / 0.7529 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.7253, allocations: 1.634 MB / 0.7545 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.7259, allocations: 80.33 kB / 0.7546 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.726, allocations: 42.28 kB / 0.7546 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 (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.0003466/0.7263, allocations: 254.9 kB / 0.7549 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.7265, allocations: 78.92 kB / 0.755 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.7288, allocations: 1.026 MB / 0.756 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.7288, allocations: 8.938 kB / 0.756 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7288, allocations: 0.5625 kB / 0.756 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.7288, allocations: 6.438 kB / 0.756 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.7319, allocations: 1.882 MB / 0.7578 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7319, allocations: 0 / 0.7578 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.7325, allocations: 146.7 kB / 0.758 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.733, allocations: 76.64 kB / 0.758 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.733, allocations: 20.83 kB / 0.758 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.7346, allocations: 1.661 MB / 0.7597 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7346, allocations: 0 / 0.7597 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.7363, allocations: 0.9317 MB / 0.7606 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.7366, allocations: 261.3 kB / 0.7608 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.7367, allocations: 21.94 kB / 0.7608 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.7373, allocations: 58.14 kB / 0.7609 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.7374, allocations: 63.44 kB / 0.761 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.7375, allocations: 28.77 kB / 0.761 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000447/0.7379, allocations: 440.9 kB / 0.7614 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7379, allocations: 0 / 0.7614 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007442/0.7387, allocations: 299 kB / 0.7617 GB, free: 161.1 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.001167/0.7398, allocations: 0.6007 MB / 0.7623 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.7412, allocations: 0.7849 MB / 0.7631 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7412, allocations: 0 / 0.7631 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/0.742, allocations: 0.4966 MB / 0.7635 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.7429, allocations: 288.1 kB / 0.7638 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.7462, allocations: 1.674 MB / 0.7654 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.7466, allocations: 1.011 MB / 0.7664 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006465/0.7473, allocations: 260.6 kB / 0.7667 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.7475, allocations: 104.8 kB / 0.7668 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.92e-07/0.7475, allocations: 0 / 0.7668 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.01807/0.7656, allocations: 14.12 MB / 0.7806 GB, free: 144.7 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)