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.002222/0.002222, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002633/0.002634, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.483/1.483, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9659/0.9659, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.08 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1876, allocations: 80.92 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007579/0.1952, allocations: 4.16 MB / 0.5878 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5281/0.7234, allocations: 148.2 MB / 0.7325 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.7242, allocations: 14.75 kB / 0.7325 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.7248, allocations: 139.2 kB / 0.7326 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.7263, allocations: 393.5 kB / 0.733 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.7283, allocations: 0.6927 MB / 0.7337 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.7297, allocations: 1.119 MB / 0.7348 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.7307, allocations: 0.6638 MB / 0.7354 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006505/0.7314, allocations: 390.1 kB / 0.7358 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.7319, allocations: 460.8 kB / 0.7362 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.7321, allocations: 65.34 kB / 0.7363 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008993/0.733, allocations: 401 kB / 0.7367 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.7332, allocations: 231 kB / 0.7369 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.7337, allocations: 493 kB / 0.7374 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.7352, allocations: 1.478 MB / 0.7388 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7352, allocations: 0 / 0.7388 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.22e-07/0.7352, allocations: 0 / 0.7388 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.7352, allocations: 0 / 0.7388 GB, free: 11.02 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.002337/0.7376, allocations: 1.379 MB / 0.7401 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.7376, allocations: 9.281 kB / 0.7401 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.7388, allocations: 204.9 kB / 0.7403 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.7399, allocations: 0.7256 MB / 0.7411 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.7399, allocations: 69.75 kB / 0.7411 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.74, allocations: 85.75 kB / 0.7412 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.7417, allocations: 0.9408 MB / 0.7421 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.7417, allocations: 0.5625 kB / 0.7421 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/0.7418, allocations: 41.75 kB / 0.7422 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.7419, allocations: 21.62 kB / 0.7422 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.7437, allocations: 1.122 MB / 0.7433 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.7477, allocations: 2.487 MB / 0.7457 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.7499, allocations: 0.8793 MB / 0.7466 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.7505, allocations: 284.2 kB / 0.7468 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-05/0.7505, allocations: 30.12 kB / 0.7469 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008706/0.7514, allocations: 442.8 kB / 0.7473 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.395e-06/0.7514, allocations: 0 / 0.7473 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003003/0.7544, allocations: 1.096 MB / 0.7484 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.7545, allocations: 188.6 kB / 0.7485 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.7553, allocations: 0.6056 MB / 0.7491 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.7554, allocations: 41.7 kB / 0.7492 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.7557, allocations: 392.2 kB / 0.7495 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.7559, allocations: 244.5 kB / 0.7498 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.7561, allocations: 150.5 kB / 0.7499 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.7563, allocations: 382.7 kB / 0.7503 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.7568, allocations: 249.5 kB / 0.7505 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.7574, allocations: 335.1 kB / 0.7508 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.7585, allocations: 0.5643 MB / 0.7514 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7585, allocations: 0 / 0.7514 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001922/0.7604, allocations: 0.7902 MB / 0.7522 GB, free: 376 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7605, allocations: 8 kB / 0.7522 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7605, allocations: 0 / 0.7522 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/0.7611, allocations: 84.86 kB / 0.7523 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.7617, allocations: 149 kB / 0.7524 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.7638, allocations: 1.522 MB / 0.7539 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.7646, allocations: 83.33 kB / 0.754 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.7646, allocations: 31.97 kB / 0.754 GB, free: 14.36 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 (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.0004624/0.7651, allocations: 261.8 kB / 0.7542 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.7652, allocations: 79 kB / 0.7543 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.7676, allocations: 0.9899 MB / 0.7553 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.7676, allocations: 11.94 kB / 0.7553 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7676, allocations: 0 / 0.7553 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.7676, allocations: 5.797 kB / 0.7553 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.771, allocations: 1.896 MB / 0.7572 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.771, allocations: 0 / 0.7572 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.7716, allocations: 147.8 kB / 0.7573 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.7722, allocations: 88.7 kB / 0.7574 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.7722, allocations: 19.98 kB / 0.7574 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.7741, allocations: 1.545 MB / 0.7589 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7741, allocations: 0 / 0.7589 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.776, allocations: 0.9257 MB / 0.7598 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.7764, allocations: 254.5 kB / 0.7601 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7765, allocations: 16 kB / 0.7601 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.7771, allocations: 62.28 kB / 0.7601 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.7772, allocations: 60.84 kB / 0.7602 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.7773, allocations: 31.98 kB / 0.7602 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005509/0.7779, allocations: 439 kB / 0.7606 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7779, allocations: 0 / 0.7606 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009055/0.7788, allocations: 300.1 kB / 0.7609 GB, free: 7.012 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.001294/0.7801, allocations: 0.6095 MB / 0.7615 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.7817, allocations: 0.7643 MB / 0.7623 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7817, allocations: 0 / 0.7623 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008905/0.7826, allocations: 496.8 kB / 0.7627 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.7837, allocations: 261.3 kB / 0.763 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.7878, allocations: 2.14 MB / 0.7651 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.7884, allocations: 1.019 MB / 0.7661 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008363/0.7892, allocations: 254.3 kB / 0.7663 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.7895, allocations: 99.39 kB / 0.7664 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.7895, allocations: 0 / 0.7664 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of Templates: time 0.02276/0.8122, allocations: 13.54 MB / 0.7796 GB, free: 4.156 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)