Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001466/0.001466, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9714/0.9714, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 72.06 kB / 0.5053 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2111, allocations: 80.92 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00724/0.2183, allocations: 4.489 MB / 0.5888 GB, free: 12 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5475/0.7659, allocations: 150.6 MB / 0.7358 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.7671, allocations: 17.06 kB / 0.7359 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008307/0.768, allocations: 188.5 kB / 0.736 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.7702, allocations: 0.4909 MB / 0.7365 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.7726, allocations: 0.8102 MB / 0.7373 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.7745, allocations: 1.317 MB / 0.7386 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.776, allocations: 0.913 MB / 0.7395 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009582/0.777, allocations: 0.5315 MB / 0.74 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.7776, allocations: 0.5728 MB / 0.7406 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.7778, allocations: 141.5 kB / 0.7407 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.7789, allocations: 481.7 kB / 0.7412 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.7792, allocations: 348.3 kB / 0.7415 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.7798, allocations: 0.6409 MB / 0.7421 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.782, allocations: 1.794 MB / 0.7439 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.782, allocations: 0 / 0.7439 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.782, allocations: 1.344 kB / 0.7439 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.7821, allocations: 0 / 0.7439 GB, free: 7.062 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.00287/0.785, allocations: 1.587 MB / 0.7454 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.785, allocations: 10.25 kB / 0.7454 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.786, allocations: 210.9 kB / 0.7456 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.7872, allocations: 0.8047 MB / 0.7464 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/0.7873, allocations: 88.83 kB / 0.7465 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.7874, allocations: 108.8 kB / 0.7466 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.7893, allocations: 1.143 MB / 0.7477 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.7894, allocations: 3.938 kB / 0.7477 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.7895, allocations: 57.14 kB / 0.7478 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.7895, allocations: 26.09 kB / 0.7478 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.7915, allocations: 1.233 MB / 0.749 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/0.7964, allocations: 3.022 MB / 0.752 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.7978, allocations: 0.7692 MB / 0.7527 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.7983, allocations: 291.5 kB / 0.753 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.982e-05/0.7984, allocations: 32.52 kB / 0.753 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008776/0.7993, allocations: 455.2 kB / 0.7534 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.374e-06/0.7993, allocations: 0 / 0.7534 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.003259/0.8026, allocations: 1.135 MB / 0.7546 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.8027, allocations: 196.5 kB / 0.7547 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.8038, allocations: 0.6882 MB / 0.7554 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.8039, allocations: 41.7 kB / 0.7555 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/0.8045, allocations: 0.4996 MB / 0.7559 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.8048, allocations: 260.2 kB / 0.7562 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.805, allocations: 158.5 kB / 0.7563 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.8052, allocations: 390.8 kB / 0.7567 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.8058, allocations: 257.9 kB / 0.757 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.8064, allocations: 354.8 kB / 0.7573 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.8076, allocations: 0.6033 MB / 0.7579 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.8076, allocations: 0 / 0.7579 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002177/0.8098, allocations: 0.8408 MB / 0.7587 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.8099, allocations: 10.66 kB / 0.7587 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.8099, allocations: 4.094 kB / 0.7587 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/0.8105, allocations: 84.75 kB / 0.7588 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.8112, allocations: 163.8 kB / 0.759 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.8135, allocations: 1.621 MB / 0.7605 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.8144, allocations: 87.3 kB / 0.7606 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/0.8145, allocations: 35.97 kB / 0.7607 GB, free: 7.621 MB / 0.5762 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.0006151/0.8151, allocations: 287 kB / 0.7609 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.8154, allocations: 90.81 kB / 0.761 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.818, allocations: 1.031 MB / 0.762 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.818, allocations: 12 kB / 0.762 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.818, allocations: 0 / 0.762 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.818, allocations: 3.984 kB / 0.762 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.8196, allocations: 0.9815 MB / 0.763 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.8196, allocations: 3.984 kB / 0.763 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.8203, allocations: 144.9 kB / 0.7631 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/0.8208, allocations: 76.8 kB / 0.7632 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.8208, allocations: 19.98 kB / 0.7632 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.8229, allocations: 1.654 MB / 0.7649 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8229, allocations: 0 / 0.7649 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.825, allocations: 0.8926 MB / 0.7657 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.8255, allocations: 263.9 kB / 0.766 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.8257, allocations: 24 kB / 0.766 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/0.8263, allocations: 59.98 kB / 0.7661 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.8265, allocations: 60.92 kB / 0.7661 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.8266, allocations: 35.92 kB / 0.7661 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007825/0.8274, allocations: 499 kB / 0.7666 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.593e-06/0.8274, allocations: 0.6562 kB / 0.7666 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001117/0.8285, allocations: 346.7 kB / 0.767 GB, free: 0.9141 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.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.001528/0.83, allocations: 0.5916 MB / 0.7675 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.8326, allocations: 0.9986 MB / 0.7685 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8326, allocations: 0 / 0.7685 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.8336, allocations: 0.5007 MB / 0.769 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.8352, allocations: 301.9 kB / 0.7693 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.84, allocations: 1.98 MB / 0.7712 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/0.8409, allocations: 1.078 MB / 0.7723 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001121/0.842, allocations: 278.8 kB / 0.7725 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.8423, allocations: 95.39 kB / 0.7726 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.8423, allocations: 4 kB / 0.7726 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.03062/0.873, allocations: 14.51 MB / 0.7868 GB, free: 12.92 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)