Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001332/0.001332, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001547/0.001547, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9626/0.9626, allocations: 135.1 MB / 425.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.8 kB / 0.5049 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 80.93 MB / 0.5839 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007467/0.1723, allocations: 6.017 MB / 0.5898 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4957/0.668, allocations: 149.2 MB / 0.7355 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.6693, allocations: 20.19 kB / 0.7355 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007658/0.6701, allocations: 192.1 kB / 0.7357 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.6722, allocations: 0.5222 MB / 0.7362 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.6753, allocations: 1.16 MB / 0.7373 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003443/0.6788, allocations: 2.416 MB / 0.7397 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.681, allocations: 1.57 MB / 0.7412 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.6827, allocations: 1.05 MB / 0.7422 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.6847, allocations: 1.192 MB / 0.7434 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005293/0.6852, allocations: 299.5 kB / 0.7437 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.6869, allocations: 0.6436 MB / 0.7443 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000568/0.6875, allocations: 0.6408 MB / 0.7449 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.6885, allocations: 1.168 MB / 0.7461 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.6921, allocations: 3.225 MB / 0.7492 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.6922, allocations: 0 / 0.7492 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.916e-06/0.6922, allocations: 2.094 kB / 0.7492 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.209e-05/0.6922, allocations: 0 / 0.7492 GB, free: 3.656 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.005782/0.698, allocations: 2.585 MB / 0.7517 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6981, allocations: 8.031 kB / 0.7517 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.714, allocations: 2.099 MB / 0.7538 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.7165, allocations: 1.197 MB / 0.755 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.7167, allocations: 160.4 kB / 0.7551 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.7171, allocations: 212 kB / 0.7553 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009043/0.7261, allocations: 3.158 MB / 0.7584 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.7262, allocations: 4 kB / 0.7584 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.7265, allocations: 84 kB / 0.7585 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.7266, allocations: 56 kB / 0.7585 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.7399, allocations: 4.1 MB / 0.7625 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01822/0.7581, allocations: 7.007 MB / 0.7694 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/0.767, allocations: 2.681 MB / 0.772 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00423/0.7712, allocations: 1.426 MB / 0.7734 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007928/0.7721, allocations: 0.5074 MB / 0.7739 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005003/0.7771, allocations: 1.694 MB / 0.7756 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 4.138e-06/0.7771, allocations: 4 kB / 0.7756 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01467/0.7918, allocations: 4.2 MB / 0.7797 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.7919, allocations: 205.9 kB / 0.7799 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.7934, allocations: 0.8619 MB / 0.7807 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002911/0.7937, allocations: 57.7 kB / 0.7807 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006953/0.7944, allocations: 0.6995 MB / 0.7814 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007171/0.7951, allocations: 0.6275 MB / 0.782 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008678/0.796, allocations: 375.2 kB / 0.7824 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.7961, allocations: 301.1 kB / 0.7827 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004164/0.8003, allocations: 1.187 MB / 0.7838 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.8046, allocations: 1.363 MB / 0.7852 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008109/0.8127, allocations: 2.489 MB / 0.7876 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.8127, allocations: 0 / 0.7876 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009918/0.8226, allocations: 2.956 MB / 0.7905 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.8227, allocations: 4 kB / 0.7905 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.8227, allocations: 0 / 0.7905 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/0.8234, allocations: 88.84 kB / 0.7906 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/0.8271, allocations: 0.5733 MB / 0.7911 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.8295, allocations: 1.638 MB / 0.7927 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/0.8327, allocations: 338.1 kB / 0.7931 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/0.833, allocations: 87.89 kB / 0.7932 GB, free: 6.07 MB / 0.6075 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.001221/0.8343, allocations: 401.5 kB / 0.7935 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006559/0.8349, allocations: 142.2 kB / 0.7937 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.8463, allocations: 3.491 MB / 0.7971 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.8464, allocations: 20 kB / 0.7971 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.8464, allocations: 0 / 0.7971 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/0.8464, allocations: 11.95 kB / 0.7971 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.8604, allocations: 5.751 MB / 0.8027 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.8605, allocations: 5.484 kB / 0.8027 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003629/0.8641, allocations: 0.5422 MB / 0.8033 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.8646, allocations: 76.78 kB / 0.8033 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/0.8649, allocations: 67.92 kB / 0.8034 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.8671, allocations: 1.674 MB / 0.805 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8671, allocations: 4.062 kB / 0.805 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.8772, allocations: 3.051 MB / 0.808 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009348/0.8781, allocations: 0.5025 MB / 0.8085 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004222/0.8786, allocations: 43.84 kB / 0.8085 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/0.8815, allocations: 247.7 kB / 0.8088 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/0.8818, allocations: 125.8 kB / 0.8089 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/0.882, allocations: 83.91 kB / 0.809 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00102/0.883, allocations: 0.6388 MB / 0.8096 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8831, allocations: 0 / 0.8096 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00181/0.8849, allocations: 0.5997 MB / 0.8102 GB, free: 4.34 MB / 0.6231 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.001655/0.8865, allocations: 0.6427 MB / 0.8108 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01297/0.8995, allocations: 3.455 MB / 0.8142 GB, free: 460 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8995, allocations: 0 / 0.8142 GB, free: 460 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004953/0.9045, allocations: 1.658 MB / 0.8158 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.9066, allocations: 353.3 kB / 0.8162 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.9173, allocations: 4.888 MB / 0.8209 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.9187, allocations: 1.369 MB / 0.8223 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003976/0.9227, allocations: 0.5545 MB / 0.8228 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.9238, allocations: 215.2 kB / 0.823 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.9238, allocations: 0 / 0.823 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of Templates: time 0.0505/0.9743, allocations: 27.82 MB / 0.8502 GB, free: 11.7 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)