Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001133/0.001133, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7815/0.7815, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3171, allocations: 80.18 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006114/0.3232, allocations: 6.053 MB / 0.5874 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1499/0.4731, allocations: 151.5 MB / 0.7353 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009804/0.4742, allocations: 23.88 kB / 0.7353 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006742/0.4749, allocations: 249.5 kB / 0.7356 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.4768, allocations: 0.6168 MB / 0.7362 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.4795, allocations: 1.282 MB / 0.7374 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.4819, allocations: 2.423 MB / 0.7398 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.4837, allocations: 1.588 MB / 0.7413 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.485, allocations: 1.047 MB / 0.7424 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.4862, allocations: 1.192 MB / 0.7435 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.4865, allocations: 300 kB / 0.7438 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.4876, allocations: 0.6714 MB / 0.7445 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004884/0.4881, allocations: 0.6465 MB / 0.7451 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009201/0.4891, allocations: 1.166 MB / 0.7462 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.4921, allocations: 3.298 MB / 0.7494 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4922, allocations: 0 / 0.7494 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4922, allocations: 0 / 0.7494 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.4922, allocations: 0 / 0.7494 GB, free: 1.574 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.2704/0.7627, allocations: 2.573 MB / 0.752 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7627, allocations: 9.312 kB / 0.752 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/0.7783, allocations: 2.096 MB / 0.754 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.7808, allocations: 1.217 MB / 0.7552 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.781, allocations: 165.3 kB / 0.7554 GB, free: 165 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/0.7815, allocations: 207.8 kB / 0.7556 GB, free: 165 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008731/0.7902, allocations: 3.16 MB / 0.7586 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.7903, allocations: 1.375 kB / 0.7586 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/0.7906, allocations: 91.47 kB / 0.7587 GB, free: 163 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.7906, allocations: 53 kB / 0.7588 GB, free: 163 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.8022, allocations: 4.107 MB / 0.7628 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.8158, allocations: 6.933 MB / 0.7696 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006956/0.8228, allocations: 2.681 MB / 0.7722 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/0.8265, allocations: 1.431 MB / 0.7736 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/0.8271, allocations: 0.5098 MB / 0.7741 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003927/0.831, allocations: 1.693 MB / 0.7757 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.407e-06/0.8311, allocations: 0 / 0.7757 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01213/0.8432, allocations: 4.189 MB / 0.7798 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.8433, allocations: 209.8 kB / 0.78 GB, free: 144 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/0.8443, allocations: 0.8658 MB / 0.7809 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.8445, allocations: 65.7 kB / 0.7809 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.8449, allocations: 0.6955 MB / 0.7816 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.8453, allocations: 0.6301 MB / 0.7822 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000594/0.8459, allocations: 367.2 kB / 0.7826 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.8459, allocations: 301.1 kB / 0.7829 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003314/0.8493, allocations: 1.187 MB / 0.784 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/0.8528, allocations: 1.363 MB / 0.7854 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006857/0.8597, allocations: 2.501 MB / 0.7878 GB, free: 136 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.8597, allocations: 0 / 0.7878 GB, free: 136 MB / 0.5762 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.00863/0.8683, allocations: 2.952 MB / 0.7907 GB, free: 133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.8684, allocations: 8 kB / 0.7907 GB, free: 133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.8684, allocations: 0 / 0.7907 GB, free: 133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.869, allocations: 88.78 kB / 0.7908 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/0.8725, allocations: 0.5695 MB / 0.7913 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.8743, allocations: 1.639 MB / 0.7929 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.8773, allocations: 334.2 kB / 0.7932 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.8777, allocations: 95.89 kB / 0.7933 GB, free: 130.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.0008557/0.8786, allocations: 414 kB / 0.7937 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.8789, allocations: 142.2 kB / 0.7939 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009235/0.8882, allocations: 3.48 MB / 0.7973 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.8882, allocations: 24 kB / 0.7973 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8883, allocations: 0 / 0.7973 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.8883, allocations: 11.95 kB / 0.7973 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.8996, allocations: 5.734 MB / 0.8029 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.8996, allocations: 3.984 kB / 0.8029 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/0.9028, allocations: 0.5422 MB / 0.8034 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.9032, allocations: 76.78 kB / 0.8035 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.9035, allocations: 63.92 kB / 0.8036 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.9051, allocations: 1.67 MB / 0.8052 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.9051, allocations: 0 / 0.8052 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008362/0.9134, allocations: 3.053 MB / 0.8082 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009476/0.9144, allocations: 0.5063 MB / 0.8087 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/0.9148, allocations: 43.84 kB / 0.8087 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/0.9173, allocations: 247.7 kB / 0.809 GB, free: 113.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.9175, allocations: 125.8 kB / 0.8091 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/0.9177, allocations: 87.91 kB / 0.8092 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007119/0.9184, allocations: 0.6349 MB / 0.8098 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9184, allocations: 3.938 kB / 0.8098 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00147/0.9199, allocations: 0.6023 MB / 0.8104 GB, free: 112.5 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 (210): * Single equations (assignments): 207 * 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.001366/0.9213, allocations: 0.6457 MB / 0.811 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007896/0.9292, allocations: 2.991 MB / 0.8139 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9292, allocations: 0 / 0.8139 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004083/0.9333, allocations: 1.658 MB / 0.8155 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.9348, allocations: 349.7 kB / 0.8159 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.9426, allocations: 3.913 MB / 0.8197 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.9432, allocations: 1.373 MB / 0.821 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002486/0.9457, allocations: 0.5583 MB / 0.8216 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008569/0.9466, allocations: 223.2 kB / 0.8218 GB, free: 101 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.9466, allocations: 0 / 0.8218 GB, free: 101 MB / 0.5762 GB Notification: Performance of Templates: time 0.03429/0.9809, allocations: 27.91 MB / 0.849 GB, free: 73.26 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)