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.001346/0.001346, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001386/0.001386, allocations: 197.7 kB / 16.25 MB, free: 6.629 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002065, allocations: 67.08 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1969, allocations: 81.01 MB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007879/0.2048, allocations: 4.189 MB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4845/0.6894, allocations: 148.4 MB / 0.7335 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000873/0.6903, allocations: 19.75 kB / 0.7335 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.6911, allocations: 131.4 kB / 0.7337 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.6929, allocations: 434 kB / 0.7341 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.6949, allocations: 0.7176 MB / 0.7348 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.6967, allocations: 1.199 MB / 0.7359 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.6978, allocations: 0.6168 MB / 0.7365 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008089/0.6986, allocations: 450.4 kB / 0.737 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007795/0.6994, allocations: 466.4 kB / 0.7374 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.6997, allocations: 106.7 kB / 0.7375 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000924/0.7006, allocations: 454.9 kB / 0.738 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.7009, allocations: 272.3 kB / 0.7382 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.7014, allocations: 0.5104 MB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.7029, allocations: 1.456 MB / 0.7401 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.703, allocations: 2.625 kB / 0.7401 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.703, allocations: 1.031 kB / 0.7401 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.703, allocations: 0 / 0.7401 GB, free: 10.05 MB / 0.5606 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.002277/0.7053, allocations: 1.341 MB / 0.7414 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7053, allocations: 8.406 kB / 0.7415 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008902/0.7062, allocations: 180.4 kB / 0.7416 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.7072, allocations: 0.719 MB / 0.7423 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.7073, allocations: 59 kB / 0.7424 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.7074, allocations: 79.5 kB / 0.7425 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.7089, allocations: 0.8887 MB / 0.7433 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.709, allocations: 4 kB / 0.7433 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.7091, allocations: 33.69 kB / 0.7434 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.7091, allocations: 21.34 kB / 0.7434 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.7107, allocations: 1.092 MB / 0.7445 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.7145, allocations: 2.495 MB / 0.7469 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.7158, allocations: 0.7365 MB / 0.7476 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.7163, allocations: 286.2 kB / 0.7479 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.051e-05/0.7164, allocations: 32.59 kB / 0.7479 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009122/0.7173, allocations: 443.8 kB / 0.7483 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.264e-06/0.7173, allocations: 11.75 kB / 0.7483 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003154/0.7205, allocations: 1.112 MB / 0.7494 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.7206, allocations: 192.6 kB / 0.7496 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/0.7214, allocations: 0.6018 MB / 0.7502 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.7215, allocations: 37.7 kB / 0.7502 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.7218, allocations: 376.3 kB / 0.7506 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.7221, allocations: 256.3 kB / 0.7508 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.7223, allocations: 162.5 kB / 0.751 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.7225, allocations: 374.8 kB / 0.7514 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.7231, allocations: 257.8 kB / 0.7516 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.7237, allocations: 343 kB / 0.7519 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.7248, allocations: 0.5916 MB / 0.7525 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7248, allocations: 0 / 0.7525 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00192/0.7267, allocations: 0.8097 MB / 0.7533 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.7267, allocations: 11.98 kB / 0.7533 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.7267, allocations: 0 / 0.7533 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.7274, allocations: 80.84 kB / 0.7534 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.728, allocations: 163.7 kB / 0.7535 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.7304, allocations: 1.632 MB / 0.7551 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.7311, allocations: 89.52 kB / 0.7552 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.7312, allocations: 39.97 kB / 0.7553 GB, free: 13.02 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.0004479/0.7316, allocations: 251.2 kB / 0.7555 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.7318, allocations: 83 kB / 0.7556 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.7343, allocations: 1.024 MB / 0.7566 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.7343, allocations: 8 kB / 0.7566 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.7343, allocations: 4 kB / 0.7566 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.7343, allocations: 4.734 kB / 0.7566 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/0.7378, allocations: 1.88 MB / 0.7584 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.7378, allocations: 4 kB / 0.7584 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.7384, allocations: 147.8 kB / 0.7586 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.7389, allocations: 72.78 kB / 0.7586 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.739, allocations: 24.92 kB / 0.7587 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.7411, allocations: 1.659 MB / 0.7603 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7411, allocations: 3.938 kB / 0.7603 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.7431, allocations: 0.9285 MB / 0.7612 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.7436, allocations: 255.8 kB / 0.7614 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.7438, allocations: 27.89 kB / 0.7615 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.7445, allocations: 51.95 kB / 0.7615 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.7446, allocations: 60.91 kB / 0.7616 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.7447, allocations: 31.98 kB / 0.7616 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006852/0.7454, allocations: 443 kB / 0.762 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7454, allocations: 0 / 0.762 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000934/0.7463, allocations: 291.4 kB / 0.7623 GB, free: 5.535 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.001997/0.7483, allocations: 0.6054 MB / 0.7629 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002452/0.7508, allocations: 0.9716 MB / 0.7638 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7508, allocations: 4.062 kB / 0.7639 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009859/0.7518, allocations: 0.5006 MB / 0.7643 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.7532, allocations: 283.6 kB / 0.7646 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.7575, allocations: 2.085 MB / 0.7666 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.7583, allocations: 1.008 MB / 0.7676 GB, free: 256 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008533/0.7591, allocations: 250.3 kB / 0.7679 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.7594, allocations: 103.4 kB / 0.768 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.7594, allocations: 0 / 0.768 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.02601/0.7854, allocations: 14.07 MB / 0.7817 GB, free: 1.988 MB / 0.5919 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)