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.001202/0.001202, allocations: 105.7 kB / 16.37 MB, free: 6.48 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.001189/0.001189, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7398/0.7398, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 0.5068 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3155, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005222/0.3207, allocations: 4.922 MB / 0.5906 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1381/0.4588, allocations: 150.8 MB / 0.7378 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007351/0.4596, allocations: 23.88 kB / 0.7379 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.4601, allocations: 190.1 kB / 0.738 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.4616, allocations: 0.5628 MB / 0.7386 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.4634, allocations: 0.9278 MB / 0.7395 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.4646, allocations: 1.553 MB / 0.741 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.4658, allocations: 1.154 MB / 0.7421 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006393/0.4665, allocations: 0.685 MB / 0.7428 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.4671, allocations: 0.735 MB / 0.7435 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.4673, allocations: 192 kB / 0.7437 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007806/0.4681, allocations: 0.5465 MB / 0.7442 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.4684, allocations: 438.6 kB / 0.7447 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.469, allocations: 0.8123 MB / 0.7454 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.4708, allocations: 2.309 MB / 0.7477 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4708, allocations: 0 / 0.7477 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4708, allocations: 0 / 0.7477 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.4708, allocations: 0 / 0.7477 GB, free: 4.145 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002499/0.4733, allocations: 1.818 MB / 0.7495 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4734, allocations: 13.11 kB / 0.7495 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/0.4742, allocations: 238.8 kB / 0.7497 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.4754, allocations: 0.9189 MB / 0.7506 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.4755, allocations: 136.7 kB / 0.7507 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.4757, allocations: 144 kB / 0.7509 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2333/0.709, allocations: 1.465 MB / 0.7523 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.7091, allocations: 0.9062 kB / 0.7523 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.7092, allocations: 63.28 kB / 0.7524 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/0.7092, allocations: 35.91 kB / 0.7524 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.7116, allocations: 1.491 MB / 0.7539 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.717, allocations: 3.872 MB / 0.7576 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.7184, allocations: 0.9063 MB / 0.7585 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.7191, allocations: 364.5 kB / 0.7589 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.694e-05/0.7192, allocations: 46.06 kB / 0.7589 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/0.7201, allocations: 0.5492 MB / 0.7595 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.427e-06/0.7201, allocations: 6.562 kB / 0.7595 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003236/0.7234, allocations: 1.368 MB / 0.7608 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.7234, allocations: 195.6 kB / 0.761 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.7243, allocations: 0.7641 MB / 0.7617 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.7244, allocations: 43.7 kB / 0.7618 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.7247, allocations: 0.5764 MB / 0.7623 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.7249, allocations: 308.9 kB / 0.7626 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.7251, allocations: 196.4 kB / 0.7628 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.7252, allocations: 343.9 kB / 0.7632 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.7257, allocations: 327.2 kB / 0.7635 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.7264, allocations: 435.9 kB / 0.7639 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.7275, allocations: 0.7624 MB / 0.7646 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7275, allocations: 0 / 0.7646 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001836/0.7293, allocations: 1.025 MB / 0.7656 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7294, allocations: 9.156 kB / 0.7656 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7294, allocations: 1.844 kB / 0.7656 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/0.7299, allocations: 82.09 kB / 0.7657 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.7306, allocations: 202.8 kB / 0.7659 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.7323, allocations: 1.648 MB / 0.7675 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.7329, allocations: 113.5 kB / 0.7676 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.733, allocations: 43.97 kB / 0.7677 GB, free: 155.1 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.0003766/0.7334, allocations: 320.2 kB / 0.768 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.7336, allocations: 98.81 kB / 0.7681 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.7359, allocations: 1.281 MB / 0.7693 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7359, allocations: 12 kB / 0.7693 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7359, allocations: 0.5 kB / 0.7693 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.7359, allocations: 6.703 kB / 0.7693 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.739, allocations: 2.507 MB / 0.7718 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.739, allocations: 0 / 0.7718 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.7397, allocations: 181.1 kB / 0.772 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003737/0.74, allocations: 71.34 kB / 0.772 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.7401, allocations: 27.98 kB / 0.772 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.7415, allocations: 1.67 MB / 0.7737 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7415, allocations: 0 / 0.7737 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.7432, allocations: 1.12 MB / 0.7748 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.7435, allocations: 315.5 kB / 0.7751 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.7437, allocations: 27.89 kB / 0.7751 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.7443, allocations: 66.5 kB / 0.7752 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.7444, allocations: 65.05 kB / 0.7752 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.7445, allocations: 43.97 kB / 0.7753 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005132/0.745, allocations: 0.5583 MB / 0.7758 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.745, allocations: 0.875 kB / 0.7758 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000778/0.7458, allocations: 403.8 kB / 0.7762 GB, free: 146.2 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 (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.001146/0.747, allocations: 0.6031 MB / 0.7768 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.7485, allocations: 0.9693 MB / 0.7777 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.7485, allocations: 0 / 0.7777 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.7493, allocations: 0.586 MB / 0.7783 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.7503, allocations: 308.1 kB / 0.7786 GB, free: 144 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.7539, allocations: 2.321 MB / 0.7809 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.7544, allocations: 1.16 MB / 0.782 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000684/0.7551, allocations: 297.6 kB / 0.7823 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.7553, allocations: 123.4 kB / 0.7824 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.7554, allocations: 4 kB / 0.7824 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.09605/0.8514, allocations: 17.2 MB / 0.7992 GB, free: 123.1 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)