Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006942/0.006942, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001298/0.001298, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.898/0.898, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.47 kB / 0.5813 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2061, allocations: 80.2 MB / 0.6596 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007198/0.2133, allocations: 4.504 MB / 0.664 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6373/0.8507, allocations: 150.6 MB / 0.8111 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.8523, allocations: 20.97 kB / 0.8112 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.8532, allocations: 186 kB / 0.8113 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.8552, allocations: 0.4975 MB / 0.8118 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.8571, allocations: 0.8275 MB / 0.8126 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.8584, allocations: 1.325 MB / 0.8139 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.8596, allocations: 0.9088 MB / 0.8148 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006729/0.8602, allocations: 0.5405 MB / 0.8153 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.8608, allocations: 0.5775 MB / 0.8159 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.8609, allocations: 141.7 kB / 0.816 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007854/0.8617, allocations: 0.5002 MB / 0.8165 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.862, allocations: 349.9 kB / 0.8169 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005039/0.8625, allocations: 0.642 MB / 0.8175 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.8646, allocations: 1.836 MB / 0.8193 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8646, allocations: 2.281 kB / 0.8193 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8646, allocations: 0 / 0.8193 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.8646, allocations: 0 / 0.8193 GB, free: 9.004 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002644/0.8673, allocations: 1.584 MB / 0.8208 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8673, allocations: 10.22 kB / 0.8208 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/0.8683, allocations: 212.6 kB / 0.821 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.8694, allocations: 0.823 MB / 0.8218 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.8695, allocations: 94.34 kB / 0.8219 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.8697, allocations: 112.2 kB / 0.822 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.8716, allocations: 1.141 MB / 0.8231 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.8717, allocations: 0 / 0.8231 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.8718, allocations: 45.44 kB / 0.8232 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.8718, allocations: 32.88 kB / 0.8232 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.8738, allocations: 1.236 MB / 0.8244 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.8781, allocations: 2.977 MB / 0.8273 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.8794, allocations: 0.7729 MB / 0.8281 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.8799, allocations: 292.6 kB / 0.8284 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.473e-05/0.88, allocations: 29.97 kB / 0.8284 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007745/0.8808, allocations: 457.2 kB / 0.8288 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.464e-06/0.8808, allocations: 0 / 0.8288 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.002936/0.8837, allocations: 1.134 MB / 0.8299 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.8839, allocations: 191.6 kB / 0.8301 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/0.8847, allocations: 0.6978 MB / 0.8308 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.8848, allocations: 38.75 kB / 0.8308 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.8851, allocations: 0.498 MB / 0.8313 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.8853, allocations: 254.4 kB / 0.8316 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.8856, allocations: 162.9 kB / 0.8317 GB, free: 492 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.8858, allocations: 392.3 kB / 0.8321 GB, free: 108 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.8863, allocations: 261.1 kB / 0.8324 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.8869, allocations: 348 kB / 0.8327 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.8879, allocations: 0.6001 MB / 0.8333 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.888, allocations: 1.906 kB / 0.8333 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001882/0.8898, allocations: 0.8442 MB / 0.8341 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.8899, allocations: 4.969 kB / 0.8341 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.8899, allocations: 2.75 kB / 0.8341 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.8905, allocations: 78.86 kB / 0.8342 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.8912, allocations: 161.3 kB / 0.8343 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.8935, allocations: 1.633 MB / 0.8359 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/0.8942, allocations: 96.83 kB / 0.836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.8943, allocations: 38.62 kB / 0.8361 GB, free: 13.26 MB / 0.6075 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 (92): * Single equations (assignments): 91 * 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.0004714/0.8948, allocations: 282.4 kB / 0.8363 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.8949, allocations: 92.94 kB / 0.8364 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.8972, allocations: 1.016 MB / 0.8374 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.8972, allocations: 9.375 kB / 0.8374 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.8972, allocations: 6.797 kB / 0.8374 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.8972, allocations: 3.984 kB / 0.8374 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.8983, allocations: 0.9795 MB / 0.8384 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8984, allocations: 0 / 0.8384 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.8989, allocations: 151.4 kB / 0.8385 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/0.8994, allocations: 74.81 kB / 0.8386 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.8994, allocations: 23.45 kB / 0.8386 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.9013, allocations: 1.653 MB / 0.8402 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9013, allocations: 1.172 kB / 0.8402 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.9031, allocations: 0.8907 MB / 0.8411 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.9034, allocations: 271.9 kB / 0.8414 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.9036, allocations: 20.94 kB / 0.8414 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/0.9041, allocations: 52.81 kB / 0.8414 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.9042, allocations: 63.47 kB / 0.8415 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.9043, allocations: 31.89 kB / 0.8415 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005903/0.9049, allocations: 0.4914 MB / 0.842 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9049, allocations: 0 / 0.842 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009051/0.9058, allocations: 340.1 kB / 0.8423 GB, free: 8.801 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001376/0.9072, allocations: 0.5922 MB / 0.8429 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.9088, allocations: 0.8033 MB / 0.8437 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9088, allocations: 1.781 kB / 0.8437 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008978/0.9098, allocations: 0.5076 MB / 0.8442 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.911, allocations: 301.2 kB / 0.8445 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.9153, allocations: 1.958 MB / 0.8464 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/0.9159, allocations: 1.078 MB / 0.8474 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007723/0.9167, allocations: 273.5 kB / 0.8477 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.917, allocations: 103.4 kB / 0.8478 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.917, allocations: 0 / 0.8478 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.02698/0.9439, allocations: 14.66 MB / 0.8621 GB, free: 5.43 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)