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.00702/0.00702, allocations: 99.16 kB / 15.73 MB, free: 6.492 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.001308/0.001308, allocations: 198.6 kB / 16.68 MB, free: 6.375 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.6 MB / 426.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.89 kB / 0.5862 GB, free: 2.723 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6196/0.6215, allocations: 81.02 MB / 0.6653 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00635/0.6279, allocations: 4.164 MB / 0.6694 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2385/0.8664, allocations: 150.6 MB / 0.8165 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.8678, allocations: 11.94 kB / 0.8165 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00096/0.8688, allocations: 170.4 kB / 0.8167 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.8719, allocations: 499.8 kB / 0.8172 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.8747, allocations: 0.7964 MB / 0.818 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002544/0.8773, allocations: 1.215 MB / 0.8191 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.8791, allocations: 0.6232 MB / 0.8198 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.8805, allocations: 450.3 kB / 0.8202 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.8818, allocations: 466 kB / 0.8206 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005207/0.8823, allocations: 104 kB / 0.8207 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.8841, allocations: 471.6 kB / 0.8212 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.8844, allocations: 279.1 kB / 0.8214 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.8851, allocations: 0.4973 MB / 0.8219 GB, free: 0 / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.8875, allocations: 1.517 MB / 0.8234 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8876, allocations: 0 / 0.8234 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8876, allocations: 0 / 0.8234 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.8876, allocations: 0 / 0.8234 GB, free: 14.48 MB / 0.6544 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.00262/0.8902, allocations: 1.379 MB / 0.8248 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8903, allocations: 8.031 kB / 0.8248 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/0.8912, allocations: 184.1 kB / 0.8249 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.8925, allocations: 0.7428 MB / 0.8257 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.8926, allocations: 58 kB / 0.8257 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.8927, allocations: 76 kB / 0.8258 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.8944, allocations: 0.891 MB / 0.8267 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.8944, allocations: 4 kB / 0.8267 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.8945, allocations: 39.98 kB / 0.8267 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.8946, allocations: 20 kB / 0.8267 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.8965, allocations: 1.093 MB / 0.8278 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.901, allocations: 2.462 MB / 0.8302 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.9025, allocations: 0.7383 MB / 0.8309 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.903, allocations: 282.7 kB / 0.8312 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.8e-05/0.9031, allocations: 36.59 kB / 0.8312 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008796/0.904, allocations: 447.2 kB / 0.8316 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.224e-06/0.904, allocations: 0 / 0.8316 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.003234/0.9073, allocations: 1.12 MB / 0.8327 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.9074, allocations: 188.6 kB / 0.8329 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.9083, allocations: 0.6056 MB / 0.8335 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.9084, allocations: 37.7 kB / 0.8335 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.9088, allocations: 381 kB / 0.8339 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.9091, allocations: 269.7 kB / 0.8342 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.9093, allocations: 162.6 kB / 0.8343 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.9096, allocations: 382.7 kB / 0.8347 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.9101, allocations: 253.8 kB / 0.8349 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.9107, allocations: 347 kB / 0.8353 GB, free: 2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.9119, allocations: 0.5799 MB / 0.8358 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.9119, allocations: 0 / 0.8358 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002018/0.9139, allocations: 0.8219 MB / 0.8366 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.914, allocations: 4 kB / 0.8366 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.914, allocations: 0 / 0.8366 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.9146, allocations: 84.89 kB / 0.8367 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.9153, allocations: 159.7 kB / 0.8369 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.9177, allocations: 1.634 MB / 0.8385 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.9184, allocations: 89.81 kB / 0.8386 GB, free: 14.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/0.9185, allocations: 35.97 kB / 0.8386 GB, free: 14.43 MB / 0.67 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.0004963/0.919, allocations: 262.3 kB / 0.8388 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.9191, allocations: 79.48 kB / 0.8389 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.9216, allocations: 1.022 MB / 0.8399 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.9216, allocations: 8 kB / 0.8399 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.9216, allocations: 0 / 0.8399 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.9216, allocations: 11.92 kB / 0.8399 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.9251, allocations: 1.885 MB / 0.8418 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-06/0.9251, allocations: 0 / 0.8418 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.9257, allocations: 151.8 kB / 0.8419 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.9261, allocations: 72.78 kB / 0.842 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.9262, allocations: 27.92 kB / 0.842 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.9285, allocations: 1.654 MB / 0.8436 GB, free: 9.031 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9285, allocations: 4.062 kB / 0.8436 GB, free: 9.027 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.9308, allocations: 0.9359 MB / 0.8445 GB, free: 8.074 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.9312, allocations: 256.3 kB / 0.8448 GB, free: 7.805 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.9314, allocations: 20 kB / 0.8448 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.9319, allocations: 51.94 kB / 0.8449 GB, free: 7.734 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.9321, allocations: 60.91 kB / 0.8449 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.9322, allocations: 35.98 kB / 0.8449 GB, free: 7.637 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007201/0.9329, allocations: 439 kB / 0.8454 GB, free: 7.215 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.525e-06/0.9329, allocations: 0 / 0.8454 GB, free: 7.215 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009875/0.9339, allocations: 307.1 kB / 0.8457 GB, free: 6.914 MB / 0.67 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.001978/0.9359, allocations: 0.595 MB / 0.8462 GB, free: 6.488 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.9379, allocations: 0.7961 MB / 0.847 GB, free: 5.684 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9379, allocations: 0 / 0.847 GB, free: 5.684 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009691/0.9389, allocations: 0.4886 MB / 0.8475 GB, free: 5.18 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.9402, allocations: 300 kB / 0.8478 GB, free: 4.91 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.9444, allocations: 1.702 MB / 0.8494 GB, free: 3.176 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008635/0.9452, allocations: 1.007 MB / 0.8504 GB, free: 2.145 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008076/0.9461, allocations: 250.3 kB / 0.8507 GB, free: 1.895 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.9464, allocations: 99.38 kB / 0.8508 GB, free: 1.797 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/0.9464, allocations: 4 kB / 0.8508 GB, free: 1.793 MB / 0.67 GB Notification: Performance of Templates: time 0.02847/0.9748, allocations: 14.28 MB / 0.8647 GB, free: 3.668 MB / 0.6856 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)