Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007066/0.007066, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001247/0.001247, allocations: 191 kB / 16.67 MB, free: 5.969 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8606/0.8606, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 68.62 kB / 0.5813 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1593, allocations: 80.2 MB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006796/0.1661, allocations: 4.919 MB / 0.6644 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6054/0.7715, allocations: 150.8 MB / 0.8117 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008101/0.7724, allocations: 17.69 kB / 0.8117 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.7731, allocations: 199.7 kB / 0.8119 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.7747, allocations: 0.5712 MB / 0.8125 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.7764, allocations: 0.9286 MB / 0.8134 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.7778, allocations: 1.566 MB / 0.8149 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.7792, allocations: 1.147 MB / 0.816 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007328/0.7799, allocations: 0.6955 MB / 0.8167 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006534/0.7806, allocations: 0.7309 MB / 0.8174 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.7808, allocations: 190.2 kB / 0.8176 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008415/0.7816, allocations: 0.5491 MB / 0.8181 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.782, allocations: 436.6 kB / 0.8186 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007475/0.7828, allocations: 0.8127 MB / 0.8194 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.7851, allocations: 2.319 MB / 0.8216 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7851, allocations: 3.938 kB / 0.8216 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7851, allocations: 0 / 0.8216 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.7851, allocations: 0 / 0.8216 GB, free: 7.641 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002837/0.788, allocations: 1.813 MB / 0.8234 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.788, allocations: 7.75 kB / 0.8234 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009699/0.789, allocations: 241.9 kB / 0.8236 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.7903, allocations: 0.9206 MB / 0.8245 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.7904, allocations: 141.3 kB / 0.8247 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.7906, allocations: 139.8 kB / 0.8248 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.7928, allocations: 1.466 MB / 0.8262 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.7929, allocations: 0 / 0.8262 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.793, allocations: 67.11 kB / 0.8263 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.793, allocations: 39.89 kB / 0.8263 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.7953, allocations: 1.496 MB / 0.8278 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005651/0.8009, allocations: 3.864 MB / 0.8316 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.8024, allocations: 0.9039 MB / 0.8325 GB, free: 240 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.803, allocations: 371.2 kB / 0.8328 GB, free: 44 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.8031, allocations: 40.81 kB / 0.8328 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009128/0.804, allocations: 0.55 MB / 0.8334 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=93): time 2.484e-06/0.804, allocations: 0 / 0.8334 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93): time 0.003214/0.8072, allocations: 1.369 MB / 0.8347 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.8074, allocations: 197.9 kB / 0.8349 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.8083, allocations: 0.7646 MB / 0.8357 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.8083, allocations: 46.42 kB / 0.8357 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.8088, allocations: 0.5713 MB / 0.8363 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.809, allocations: 305.8 kB / 0.8366 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.8093, allocations: 199 kB / 0.8367 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8094, allocations: 344.9 kB / 0.8371 GB, free: 13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.81, allocations: 331.1 kB / 0.8374 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.8107, allocations: 433.7 kB / 0.8378 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.812, allocations: 0.7655 MB / 0.8385 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.812, allocations: 0 / 0.8385 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002193/0.8142, allocations: 1.027 MB / 0.8395 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8143, allocations: 9.188 kB / 0.8396 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8143, allocations: 0 / 0.8396 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.8149, allocations: 90.14 kB / 0.8396 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.8157, allocations: 192.6 kB / 0.8398 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.8179, allocations: 1.653 MB / 0.8414 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008061/0.8187, allocations: 109 kB / 0.8415 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/0.8188, allocations: 37 kB / 0.8416 GB, free: 9.836 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0006247/0.8194, allocations: 328.5 kB / 0.8419 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.8196, allocations: 107 kB / 0.842 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/0.8226, allocations: 1.279 MB / 0.8432 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.8226, allocations: 13.95 kB / 0.8433 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8226, allocations: 3.938 kB / 0.8433 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.8226, allocations: 3.984 kB / 0.8433 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004289/0.8269, allocations: 2.489 MB / 0.8457 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.8269, allocations: 0 / 0.8457 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/0.8277, allocations: 171.8 kB / 0.8459 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.8281, allocations: 84.66 kB / 0.8459 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/0.8282, allocations: 27.98 kB / 0.846 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.8302, allocations: 1.678 MB / 0.8476 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8302, allocations: 0 / 0.8476 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.8324, allocations: 1.115 MB / 0.8487 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.8328, allocations: 307.6 kB / 0.849 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.833, allocations: 31.84 kB / 0.849 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/0.8337, allocations: 61.81 kB / 0.8491 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.8338, allocations: 72.89 kB / 0.8491 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/0.8339, allocations: 39.97 kB / 0.8492 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007496/0.8347, allocations: 0.5615 MB / 0.8497 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8347, allocations: 0 / 0.8497 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001124/0.8358, allocations: 398.6 kB / 0.8501 GB, free: 1.719 MB / 0.6075 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 (107): * Single equations (assignments): 104 * 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.001423/0.8372, allocations: 0.6086 MB / 0.8507 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.8392, allocations: 0.9682 MB / 0.8517 GB, free: 368 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.8392, allocations: 4.25 kB / 0.8517 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.8402, allocations: 0.5783 MB / 0.8522 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.8415, allocations: 297.5 kB / 0.8525 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.8462, allocations: 2.315 MB / 0.8548 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/0.847, allocations: 1.165 MB / 0.8559 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008311/0.8478, allocations: 287.9 kB / 0.8562 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.8481, allocations: 127.4 kB / 0.8563 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.8481, allocations: 0 / 0.8563 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.02759/0.8757, allocations: 17.43 MB / 0.8733 GB, free: 10.27 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)