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.006719/0.006719, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001196/0.001196, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.83 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5032, allocations: 80.92 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005318/0.5086, allocations: 4.142 MB / 0.6687 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1944/0.703, allocations: 150.5 MB / 0.8156 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.7043, allocations: 15.94 kB / 0.8157 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008992/0.7052, allocations: 170.4 kB / 0.8158 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.7076, allocations: 483.8 kB / 0.8163 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.7101, allocations: 0.8121 MB / 0.8171 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.7118, allocations: 1.188 MB / 0.8182 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.713, allocations: 0.6903 MB / 0.8189 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008244/0.7138, allocations: 462.3 kB / 0.8194 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007854/0.7146, allocations: 489.8 kB / 0.8198 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.715, allocations: 112 kB / 0.8199 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.7161, allocations: 479.6 kB / 0.8204 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.7165, allocations: 287.1 kB / 0.8207 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007566/0.7173, allocations: 0.5206 MB / 0.8212 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002143/0.7194, allocations: 1.571 MB / 0.8227 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7195, allocations: 4 kB / 0.8227 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7195, allocations: 7.938 kB / 0.8227 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.7195, allocations: 0 / 0.8227 GB, free: 15.18 MB / 0.6544 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.002224/0.7217, allocations: 1.373 MB / 0.8241 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7218, allocations: 11.97 kB / 0.8241 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.7228, allocations: 207.4 kB / 0.8243 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.7239, allocations: 0.7423 MB / 0.825 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.724, allocations: 66 kB / 0.825 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.7241, allocations: 87.98 kB / 0.8251 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.7256, allocations: 0.9448 MB / 0.8261 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.7256, allocations: 0 / 0.8261 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/0.7257, allocations: 44 kB / 0.8261 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.7258, allocations: 23.94 kB / 0.8261 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.7275, allocations: 1.124 MB / 0.8272 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.7311, allocations: 2.433 MB / 0.8296 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.7332, allocations: 0.8801 MB / 0.8305 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.7337, allocations: 286.7 kB / 0.8307 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.7338, allocations: 36.58 kB / 0.8308 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000736/0.7345, allocations: 439.1 kB / 0.8312 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.444e-06/0.7345, allocations: 4 kB / 0.8312 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002867/0.7374, allocations: 1.088 MB / 0.8322 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.7375, allocations: 188.6 kB / 0.8324 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.7383, allocations: 0.6095 MB / 0.833 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.7383, allocations: 37.7 kB / 0.8331 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.7386, allocations: 392.2 kB / 0.8334 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.7388, allocations: 252.3 kB / 0.8337 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.739, allocations: 150.5 kB / 0.8338 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7392, allocations: 378.7 kB / 0.8342 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.7396, allocations: 249.8 kB / 0.8344 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.7402, allocations: 331.1 kB / 0.8347 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7412, allocations: 0.5682 MB / 0.8353 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7413, allocations: 0 / 0.8353 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001742/0.743, allocations: 0.7864 MB / 0.8361 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.743, allocations: 4 kB / 0.8361 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.743, allocations: 4.078 kB / 0.8361 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.7436, allocations: 80.78 kB / 0.8361 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.7443, allocations: 151.8 kB / 0.8363 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.7463, allocations: 1.638 MB / 0.8379 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.7469, allocations: 87.39 kB / 0.838 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.747, allocations: 31.98 kB / 0.838 GB, free: 14.99 MB / 0.67 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.0004124/0.7474, allocations: 267.3 kB / 0.8383 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.7475, allocations: 75.06 kB / 0.8383 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.7503, allocations: 0.9901 MB / 0.8393 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.7503, allocations: 8 kB / 0.8393 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7503, allocations: 0 / 0.8393 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.7504, allocations: 7.922 kB / 0.8393 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/0.7549, allocations: 1.901 MB / 0.8412 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.7549, allocations: 0 / 0.8412 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.7558, allocations: 151.8 kB / 0.8413 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005505/0.7563, allocations: 68.78 kB / 0.8414 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/0.7564, allocations: 19.98 kB / 0.8414 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002732/0.7592, allocations: 1.658 MB / 0.843 GB, free: 9.621 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7592, allocations: 4.031 kB / 0.843 GB, free: 9.617 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.762, allocations: 0.9316 MB / 0.8439 GB, free: 8.664 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005324/0.7625, allocations: 251.8 kB / 0.8442 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.7627, allocations: 15.94 kB / 0.8442 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/0.7635, allocations: 58.75 kB / 0.8442 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.7637, allocations: 60.91 kB / 0.8443 GB, free: 8.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/0.7638, allocations: 35.98 kB / 0.8443 GB, free: 8.234 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00105/0.7649, allocations: 435 kB / 0.8447 GB, free: 7.816 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7649, allocations: 0 / 0.8447 GB, free: 7.816 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001241/0.7661, allocations: 299.2 kB / 0.845 GB, free: 7.523 MB / 0.67 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.001919/0.7681, allocations: 0.6063 MB / 0.8456 GB, free: 7.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.7704, allocations: 0.7649 MB / 0.8464 GB, free: 6.312 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7704, allocations: 0 / 0.8464 GB, free: 6.312 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.7716, allocations: 0.4964 MB / 0.8469 GB, free: 5.805 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.7732, allocations: 290 kB / 0.8471 GB, free: 5.543 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005497/0.7787, allocations: 1.708 MB / 0.8488 GB, free: 3.805 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.7798, allocations: 1.011 MB / 0.8498 GB, free: 2.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001191/0.781, allocations: 262.2 kB / 0.85 GB, free: 2.508 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.7814, allocations: 99.39 kB / 0.8501 GB, free: 2.41 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.7814, allocations: 4 kB / 0.8501 GB, free: 2.406 MB / 0.67 GB Notification: Performance of Templates: time 0.02965/0.8111, allocations: 14.22 MB / 0.864 GB, free: 4.344 MB / 0.6856 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)