Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.000953, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006211/0.006212, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004096, allocations: 8.719 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1917, allocations: 82.31 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004683/0.1965, allocations: 3.737 MB / 0.5916 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5576/0.7541, allocations: 146.6 MB / 0.7348 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.7552, allocations: 18.06 kB / 0.7348 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007823/0.756, allocations: 135.7 kB / 0.7349 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.7584, allocations: 398.1 kB / 0.7353 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.7612, allocations: 0.695 MB / 0.736 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00232/0.7635, allocations: 1.109 MB / 0.737 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.765, allocations: 0.6538 MB / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009187/0.766, allocations: 308.8 kB / 0.738 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009405/0.7669, allocations: 340.4 kB / 0.7383 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.7672, allocations: 21.75 kB / 0.7383 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.7691, allocations: 363 kB / 0.7387 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.7696, allocations: 177.7 kB / 0.7388 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.7707, allocations: 432.2 kB / 0.7393 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.774, allocations: 1.43 MB / 0.7406 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7741, allocations: 1.781 kB / 0.7406 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7741, allocations: 0 / 0.7406 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.702e-05/0.7742, allocations: 0 / 0.7406 GB, free: 11.94 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003452/0.7776, allocations: 1.17 MB / 0.7418 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.7777, allocations: 7.031 kB / 0.7418 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.7792, allocations: 218.3 kB / 0.742 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/0.7811, allocations: 0.7163 MB / 0.7427 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.7812, allocations: 66.06 kB / 0.7428 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.7814, allocations: 89.38 kB / 0.7429 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.7838, allocations: 0.9568 MB / 0.7438 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.7838, allocations: 0 / 0.7438 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.7839, allocations: 37.62 kB / 0.7438 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.784, allocations: 20.62 kB / 0.7438 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.7864, allocations: 1.137 MB / 0.745 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/0.792, allocations: 2.509 MB / 0.7474 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.7944, allocations: 0.8862 MB / 0.7483 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/0.7949, allocations: 288.7 kB / 0.7485 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.358e-05/0.795, allocations: 28.72 kB / 0.7486 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008678/0.7959, allocations: 445.9 kB / 0.749 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 5.18e-06/0.7959, allocations: 0 / 0.749 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003384/0.7993, allocations: 1.109 MB / 0.7501 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.7995, allocations: 189.3 kB / 0.7503 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.8007, allocations: 0.6043 MB / 0.7509 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.8008, allocations: 41.7 kB / 0.7509 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.8013, allocations: 400.1 kB / 0.7513 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.8016, allocations: 240.5 kB / 0.7515 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.8017, allocations: 65.69 kB / 0.7516 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.8019, allocations: 386.7 kB / 0.7519 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.8025, allocations: 241.9 kB / 0.7522 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.8032, allocations: 339.1 kB / 0.7525 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.8044, allocations: 0.576 MB / 0.7531 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8044, allocations: 0 / 0.7531 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002267/0.8067, allocations: 0.8058 MB / 0.7538 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.8067, allocations: 8 kB / 0.7538 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8067, allocations: 0 / 0.7538 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/0.8074, allocations: 84.86 kB / 0.7539 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.808, allocations: 151.8 kB / 0.7541 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.8107, allocations: 1.528 MB / 0.7556 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.8116, allocations: 87.33 kB / 0.7556 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-05/0.8117, allocations: 31.98 kB / 0.7557 GB, free: 176 kB / 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 (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 (84): * Single equations (assignments): 83 * 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.0006559/0.8123, allocations: 261.8 kB / 0.7559 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.8126, allocations: 79 kB / 0.756 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.8153, allocations: 0.995 MB / 0.757 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.8153, allocations: 12 kB / 0.757 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.8153, allocations: 0 / 0.757 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.8154, allocations: 7.969 kB / 0.757 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/0.8196, allocations: 1.902 MB / 0.7589 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.8196, allocations: 4 kB / 0.7589 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.8203, allocations: 151.8 kB / 0.759 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/0.8208, allocations: 84.72 kB / 0.7591 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/0.8209, allocations: 23.98 kB / 0.7591 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.823, allocations: 1.544 MB / 0.7606 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.823, allocations: 3.984 kB / 0.7606 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.8253, allocations: 0.9297 MB / 0.7615 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005384/0.8259, allocations: 279.7 kB / 0.7618 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.8261, allocations: 16 kB / 0.7618 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/0.8268, allocations: 73.47 kB / 0.7619 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.827, allocations: 56.86 kB / 0.7619 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/0.827, allocations: 35.97 kB / 0.762 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007559/0.8278, allocations: 439 kB / 0.7624 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8278, allocations: 4 kB / 0.7624 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001235/0.8291, allocations: 299.2 kB / 0.7627 GB, free: 8.754 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001807/0.8309, allocations: 0.6074 MB / 0.7633 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.8329, allocations: 0.772 MB / 0.764 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.8329, allocations: 0 / 0.764 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.834, allocations: 0.493 MB / 0.7645 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.8354, allocations: 263.1 kB / 0.7647 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.8399, allocations: 2.21 MB / 0.7669 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.8406, allocations: 1.015 MB / 0.7679 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001006/0.8416, allocations: 254.3 kB / 0.7681 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.8419, allocations: 99.39 kB / 0.7682 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.8419, allocations: 0 / 0.7682 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of Templates: time 0.0263/0.8682, allocations: 13.45 MB / 0.7814 GB, free: 5.898 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)