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.001387/0.001387, allocations: 90.98 kB / 15.06 MB, free: 1.094 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.001845/0.001845, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 13.72 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005029/0.222, allocations: 3.853 MB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5408/0.7629, allocations: 136.8 MB / 0.7247 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008556/0.7638, allocations: 19.25 kB / 0.7248 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.7643, allocations: 134.9 kB / 0.7249 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.7658, allocations: 406 kB / 0.7253 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.7676, allocations: 0.6293 MB / 0.7259 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.769, allocations: 1.127 MB / 0.727 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009669/0.77, allocations: 0.6939 MB / 0.7277 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.7706, allocations: 331.6 kB / 0.728 GB, free: 5.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.7711, allocations: 371.1 kB / 0.7283 GB, free: 5.582 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.7712, allocations: 23.31 kB / 0.7284 GB, free: 5.582 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009776/0.7722, allocations: 337.8 kB / 0.7287 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.7725, allocations: 188.4 kB / 0.7289 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.7727, allocations: 220.1 kB / 0.7291 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.7744, allocations: 1.323 MB / 0.7304 GB, free: 4.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7744, allocations: 4 kB / 0.7304 GB, free: 4.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7744, allocations: 1 kB / 0.7304 GB, free: 4.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.556e-05/0.7745, allocations: 0 / 0.7304 GB, free: 4.898 MB / 0.545 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.002609/0.7771, allocations: 1.342 MB / 0.7317 GB, free: 3.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7771, allocations: 8.906 kB / 0.7317 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009873/0.7781, allocations: 225.7 kB / 0.7319 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.7794, allocations: 0.7805 MB / 0.7327 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.7795, allocations: 89.36 kB / 0.7328 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.7797, allocations: 115 kB / 0.7329 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.7817, allocations: 1.129 MB / 0.734 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.7818, allocations: 3.938 kB / 0.734 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-05/0.7819, allocations: 55.47 kB / 0.734 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.7819, allocations: 32.17 kB / 0.7341 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.7839, allocations: 1.232 MB / 0.7353 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.789, allocations: 3.036 MB / 0.7382 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.7902, allocations: 0.774 MB / 0.739 GB, free: 0 / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.7907, allocations: 299.6 kB / 0.7393 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.7908, allocations: 21.78 kB / 0.7393 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007724/0.7916, allocations: 450.7 kB / 0.7397 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.215e-06/0.7916, allocations: 0 / 0.7397 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002752/0.7944, allocations: 1.151 MB / 0.7408 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.7945, allocations: 193.2 kB / 0.741 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.7954, allocations: 0.6899 MB / 0.7417 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.7955, allocations: 38.16 kB / 0.7417 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/0.7959, allocations: 0.5001 MB / 0.7422 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.7962, allocations: 260.4 kB / 0.7425 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.7962, allocations: 13.56 kB / 0.7425 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.7964, allocations: 392.2 kB / 0.7429 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.7969, allocations: 258.9 kB / 0.7431 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.7975, allocations: 359 kB / 0.7434 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.7981, allocations: 302.9 kB / 0.7437 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7981, allocations: 0 / 0.7437 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00188/0.8, allocations: 0.8448 MB / 0.7446 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.8, allocations: 11.95 kB / 0.7446 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8, allocations: 0 / 0.7446 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005215/0.8006, allocations: 80.88 kB / 0.7446 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.8012, allocations: 159.8 kB / 0.7448 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.8031, allocations: 1.52 MB / 0.7463 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/0.8039, allocations: 95.33 kB / 0.7464 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.804, allocations: 35.97 kB / 0.7464 GB, free: 9.477 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006399/0.8046, allocations: 285.2 kB / 0.7467 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.8048, allocations: 94.77 kB / 0.7468 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.807, allocations: 1.034 MB / 0.7478 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.8071, allocations: 8 kB / 0.7478 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8071, allocations: 8 kB / 0.7478 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.8071, allocations: 3.984 kB / 0.7478 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.8083, allocations: 0.9738 MB / 0.7488 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.8083, allocations: 0 / 0.7488 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.8089, allocations: 151.8 kB / 0.7489 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.8094, allocations: 80.78 kB / 0.749 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.8094, allocations: 23.98 kB / 0.749 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.8113, allocations: 1.552 MB / 0.7505 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8113, allocations: 4.031 kB / 0.7505 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.8133, allocations: 0.8887 MB / 0.7514 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.8138, allocations: 283.6 kB / 0.7517 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8139, allocations: 19.94 kB / 0.7517 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.8144, allocations: 66.14 kB / 0.7517 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.8146, allocations: 68.86 kB / 0.7518 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.8146, allocations: 27.98 kB / 0.7518 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007952/0.8154, allocations: 499 kB / 0.7523 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8154, allocations: 3.938 kB / 0.7523 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001117/0.8166, allocations: 342.9 kB / 0.7526 GB, free: 2.855 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001558/0.8181, allocations: 0.5821 MB / 0.7532 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.8199, allocations: 0.8071 MB / 0.754 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.8199, allocations: 0 / 0.754 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.8208, allocations: 0.5008 MB / 0.7545 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.8219, allocations: 276.8 kB / 0.7547 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.8263, allocations: 2.454 MB / 0.7571 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.827, allocations: 1.078 MB / 0.7582 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009428/0.828, allocations: 266.9 kB / 0.7585 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.8282, allocations: 99.39 kB / 0.7585 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.8282, allocations: 0 / 0.7585 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.02337/0.8516, allocations: 13.46 MB / 0.7717 GB, free: 15.64 MB / 0.5919 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)