Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001216/0.001216, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.009412/0.009412, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.032/1.032, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003263, allocations: 8 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 82.3 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005904/0.1758, allocations: 4.473 MB / 0.5923 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5865/0.7623, allocations: 146.9 MB / 0.7358 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009727/0.7634, allocations: 17.47 kB / 0.7358 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.764, allocations: 157.5 kB / 0.7359 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.7657, allocations: 483.5 kB / 0.7364 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.7681, allocations: 0.8183 MB / 0.7372 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.7699, allocations: 1.433 MB / 0.7386 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.7714, allocations: 1.083 MB / 0.7396 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.7723, allocations: 440.3 kB / 0.7401 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007128/0.773, allocations: 485.4 kB / 0.7405 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.7731, allocations: 28.34 kB / 0.7406 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.7742, allocations: 365.9 kB / 0.7409 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.7745, allocations: 234.8 kB / 0.7411 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.775, allocations: 0.6028 MB / 0.7417 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.7771, allocations: 2.085 MB / 0.7438 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7771, allocations: 5.969 kB / 0.7438 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7771, allocations: 0 / 0.7438 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.392e-05/0.7771, allocations: 0 / 0.7438 GB, free: 9.605 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002744/0.7799, allocations: 1.494 MB / 0.7452 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.7799, allocations: 13.56 kB / 0.7452 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.781, allocations: 246.8 kB / 0.7455 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.7823, allocations: 0.9064 MB / 0.7464 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.7824, allocations: 143.4 kB / 0.7465 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.7826, allocations: 140.1 kB / 0.7466 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.7856, allocations: 1.469 MB / 0.7481 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.7856, allocations: 0 / 0.7481 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.7858, allocations: 60.12 kB / 0.7481 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.7858, allocations: 42.52 kB / 0.7482 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.7885, allocations: 1.496 MB / 0.7496 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007141/0.7957, allocations: 3.975 MB / 0.7535 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.7973, allocations: 0.9186 MB / 0.7544 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006338/0.7979, allocations: 367.7 kB / 0.7547 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.798, allocations: 45.08 kB / 0.7548 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009983/0.799, allocations: 0.5515 MB / 0.7553 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 2.495e-06/0.7991, allocations: 0 / 0.7553 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003696/0.8028, allocations: 1.384 MB / 0.7567 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.8029, allocations: 196.9 kB / 0.7569 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.8041, allocations: 0.7668 MB / 0.7576 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.146e-05/0.8042, allocations: 45.7 kB / 0.7577 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.8048, allocations: 0.5697 MB / 0.7582 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.8051, allocations: 311.5 kB / 0.7585 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.8052, allocations: 77.67 kB / 0.7586 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.8054, allocations: 345.9 kB / 0.7589 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.8061, allocations: 329.8 kB / 0.7592 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.8068, allocations: 435.9 kB / 0.7596 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.8081, allocations: 0.7744 MB / 0.7604 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8082, allocations: 0 / 0.7604 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002211/0.8104, allocations: 1.04 MB / 0.7614 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.8104, allocations: 10.59 kB / 0.7614 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8104, allocations: 0 / 0.7614 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.8111, allocations: 92.77 kB / 0.7615 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.8119, allocations: 195.7 kB / 0.7617 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.8141, allocations: 1.535 MB / 0.7632 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/0.8151, allocations: 116.2 kB / 0.7633 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.8152, allocations: 43.97 kB / 0.7634 GB, free: 8.105 MB / 0.5762 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.0006768/0.8159, allocations: 325.6 kB / 0.7637 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.816, allocations: 102.7 kB / 0.7638 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.8189, allocations: 1.29 MB / 0.765 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.8189, allocations: 12 kB / 0.765 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.819, allocations: 0 / 0.765 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.819, allocations: 3.984 kB / 0.765 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.8231, allocations: 2.511 MB / 0.7675 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.8231, allocations: 0 / 0.7675 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/0.8239, allocations: 183.7 kB / 0.7677 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005268/0.8244, allocations: 84.77 kB / 0.7677 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.8245, allocations: 23.98 kB / 0.7678 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.8265, allocations: 1.57 MB / 0.7693 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8265, allocations: 7.922 kB / 0.7693 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.8288, allocations: 1.109 MB / 0.7704 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.8294, allocations: 347.3 kB / 0.7707 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.8295, allocations: 23.94 kB / 0.7707 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.8303, allocations: 75.94 kB / 0.7708 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.8305, allocations: 72.83 kB / 0.7709 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.8305, allocations: 43.98 kB / 0.7709 GB, free: 88 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008345/0.8314, allocations: 0.5615 MB / 0.7715 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8314, allocations: 0 / 0.7715 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001207/0.8326, allocations: 406.4 kB / 0.7719 GB, free: 15.13 MB / 0.5919 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.001517/0.8341, allocations: 0.5814 MB / 0.7724 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.8362, allocations: 0.9793 MB / 0.7734 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8362, allocations: 0 / 0.7734 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.8372, allocations: 0.5864 MB / 0.774 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.8386, allocations: 280.9 kB / 0.7742 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.8441, allocations: 3.05 MB / 0.7772 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007714/0.8449, allocations: 1.163 MB / 0.7783 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001061/0.846, allocations: 283.9 kB / 0.7786 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.8463, allocations: 127.4 kB / 0.7787 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.8463, allocations: 4 kB / 0.7787 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.0309/0.8773, allocations: 16.43 MB / 0.7948 GB, free: 7.961 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)