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.001086/0.001086, allocations: 108.9 kB / 16.37 MB, free: 6.016 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.00114/0.00114, allocations: 197.3 kB / 17.31 MB, free: 5.613 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7353/0.7353, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 0.5068 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.307, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004787/0.3118, allocations: 4.507 MB / 0.5902 GB, free: 21.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.4511, allocations: 150.6 MB / 0.7372 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.4519, allocations: 19.88 kB / 0.7373 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.4524, allocations: 186.2 kB / 0.7374 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.4537, allocations: 496.7 kB / 0.7379 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.4554, allocations: 0.8259 MB / 0.7387 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.4565, allocations: 1.316 MB / 0.74 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009803/0.4574, allocations: 0.927 MB / 0.7409 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.4579, allocations: 0.537 MB / 0.7414 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.4584, allocations: 0.5716 MB / 0.742 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.4586, allocations: 143.9 kB / 0.7421 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006716/0.4593, allocations: 0.4957 MB / 0.7426 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.4595, allocations: 346.9 kB / 0.7429 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.46, allocations: 0.6373 MB / 0.7436 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.4614, allocations: 1.843 MB / 0.7454 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4614, allocations: 4 kB / 0.7454 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4614, allocations: 0 / 0.7454 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.4614, allocations: 0 / 0.7454 GB, free: 6.504 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002091/0.4635, allocations: 1.584 MB / 0.7469 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.4636, allocations: 9.109 kB / 0.7469 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.4644, allocations: 211.1 kB / 0.7471 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.4655, allocations: 0.8326 MB / 0.7479 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.4655, allocations: 86.3 kB / 0.748 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4657, allocations: 108 kB / 0.7481 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.4673, allocations: 1.138 MB / 0.7492 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4673, allocations: 0 / 0.7492 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.4674, allocations: 48 kB / 0.7493 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.4674, allocations: 28 kB / 0.7493 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.4692, allocations: 1.238 MB / 0.7505 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2441/0.7134, allocations: 2.969 MB / 0.7534 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.7147, allocations: 0.7732 MB / 0.7542 GB, free: 164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.7152, allocations: 293 kB / 0.7545 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-05/0.7152, allocations: 34.47 kB / 0.7545 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007592/0.716, allocations: 449.4 kB / 0.7549 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/0.716, allocations: 2.078 kB / 0.7549 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002809/0.7188, allocations: 1.133 MB / 0.756 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.7189, allocations: 193 kB / 0.7562 GB, free: 163 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008444/0.7198, allocations: 0.6957 MB / 0.7569 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.7198, allocations: 43.42 kB / 0.7569 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.7201, allocations: 0.493 MB / 0.7574 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.7202, allocations: 260 kB / 0.7577 GB, free: 162 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.7205, allocations: 161.6 kB / 0.7578 GB, free: 162 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.7206, allocations: 392.6 kB / 0.7582 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.7211, allocations: 258 kB / 0.7584 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.7217, allocations: 360.3 kB / 0.7588 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.7228, allocations: 0.5979 MB / 0.7594 GB, free: 161 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.7228, allocations: 3.938 kB / 0.7594 GB, free: 161 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001769/0.7246, allocations: 0.8362 MB / 0.7602 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.7246, allocations: 6.156 kB / 0.7602 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7246, allocations: 4.594 kB / 0.7602 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/0.7252, allocations: 86.98 kB / 0.7603 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.7258, allocations: 156 kB / 0.7604 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.7274, allocations: 1.63 MB / 0.762 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.728, allocations: 92.55 kB / 0.7621 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.7281, allocations: 37.5 kB / 0.7621 GB, free: 158.9 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.0003295/0.7284, allocations: 283.1 kB / 0.7624 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7286, allocations: 89.66 kB / 0.7625 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.7305, allocations: 1.023 MB / 0.7635 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.7305, allocations: 13.16 kB / 0.7635 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.7305, allocations: 0 / 0.7635 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.7305, allocations: 9.719 kB / 0.7635 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009009/0.7314, allocations: 0.9819 MB / 0.7645 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7314, allocations: 0 / 0.7645 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.732, allocations: 153.5 kB / 0.7646 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/0.7323, allocations: 71.53 kB / 0.7647 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.7324, allocations: 22.89 kB / 0.7647 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.7337, allocations: 1.652 MB / 0.7663 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7337, allocations: 5.281 kB / 0.7663 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.7352, allocations: 0.8903 MB / 0.7672 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.7355, allocations: 273.2 kB / 0.7675 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.963e-05/0.7356, allocations: 15.88 kB / 0.7675 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.7361, allocations: 57.69 kB / 0.7675 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.7362, allocations: 62.5 kB / 0.7676 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.7362, allocations: 32.81 kB / 0.7676 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004149/0.7366, allocations: 495 kB / 0.7681 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7367, allocations: 1.344 kB / 0.7681 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006185/0.7373, allocations: 341.1 kB / 0.7684 GB, free: 154 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.001103/0.7384, allocations: 0.5995 MB / 0.769 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.7396, allocations: 0.8086 MB / 0.7698 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7396, allocations: 1.031 kB / 0.7698 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000673/0.7403, allocations: 0.5017 MB / 0.7703 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008805/0.7412, allocations: 295.4 kB / 0.7706 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.7442, allocations: 1.952 MB / 0.7725 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.7445, allocations: 1.081 MB / 0.7735 GB, free: 149 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006026/0.7451, allocations: 269.8 kB / 0.7738 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.7453, allocations: 103.5 kB / 0.7739 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.7453, allocations: 7.875 kB / 0.7739 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01767/0.763, allocations: 14.51 MB / 0.7881 GB, free: 134.3 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)