Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009268, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001402/0.001402, allocations: 168.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.258/1.258, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7097/0.7097, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002682, allocations: 8.75 kB / 0.5034 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3375, allocations: 81.57 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004112/0.3416, allocations: 4.245 MB / 0.5872 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1374/0.479, allocations: 137 MB / 0.721 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005243/0.4796, allocations: 19.88 kB / 0.721 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.48, allocations: 150.8 kB / 0.7211 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.4811, allocations: 464.2 kB / 0.7216 GB, free: 2.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.4825, allocations: 0.6995 MB / 0.7223 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.4836, allocations: 1.342 MB / 0.7236 GB, free: 296 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.4846, allocations: 0.9227 MB / 0.7245 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.485, allocations: 429.8 kB / 0.7249 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.4855, allocations: 449.3 kB / 0.7253 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.4856, allocations: 31.94 kB / 0.7254 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.4861, allocations: 339.6 kB / 0.7257 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.4863, allocations: 226.9 kB / 0.7259 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.4865, allocations: 264.9 kB / 0.7261 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.4878, allocations: 1.687 MB / 0.7278 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4878, allocations: 0 / 0.7278 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4878, allocations: 4 kB / 0.7278 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.4878, allocations: 0 / 0.7278 GB, free: 11.93 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002139/0.49, allocations: 1.495 MB / 0.7293 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.49, allocations: 8.031 kB / 0.7293 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008466/0.4909, allocations: 257.8 kB / 0.7295 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.4919, allocations: 0.8719 MB / 0.7304 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.4921, allocations: 140.7 kB / 0.7305 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.4922, allocations: 140 kB / 0.7306 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.4944, allocations: 1.465 MB / 0.7321 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.4944, allocations: 0 / 0.7321 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4946, allocations: 64 kB / 0.7321 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.4946, allocations: 36 kB / 0.7322 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.4968, allocations: 1.49 MB / 0.7336 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005208/0.502, allocations: 3.973 MB / 0.7375 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.5034, allocations: 0.9036 MB / 0.7384 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.504, allocations: 367.7 kB / 0.7387 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.5041, allocations: 41.08 kB / 0.7388 GB, free: 464 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009071/0.505, allocations: 0.5564 MB / 0.7393 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.535e-06/0.505, allocations: 0 / 0.7393 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.002977/0.508, allocations: 1.38 MB / 0.7407 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/0.5081, allocations: 188.9 kB / 0.7408 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008592/0.5089, allocations: 0.755 MB / 0.7416 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.509, allocations: 53.64 kB / 0.7416 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.5094, allocations: 0.5852 MB / 0.7422 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.5096, allocations: 303.5 kB / 0.7425 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.5097, allocations: 20 kB / 0.7425 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5098, allocations: 337.9 kB / 0.7428 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.5104, allocations: 325.8 kB / 0.7431 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.5111, allocations: 439.9 kB / 0.7436 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.5117, allocations: 390.9 kB / 0.7439 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5117, allocations: 0 / 0.7439 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001991/0.5137, allocations: 1.024 MB / 0.7449 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5138, allocations: 8 kB / 0.7449 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5138, allocations: 4 kB / 0.7449 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.5143, allocations: 88.83 kB / 0.745 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/0.5151, allocations: 199.7 kB / 0.7452 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.5169, allocations: 1.54 MB / 0.7467 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.5176, allocations: 111.1 kB / 0.7468 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.5177, allocations: 39.97 kB / 0.7469 GB, free: 7.867 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0004588/0.5181, allocations: 327.2 kB / 0.7472 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.5183, allocations: 94.78 kB / 0.7473 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.521, allocations: 1.305 MB / 0.7485 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.521, allocations: 12 kB / 0.7486 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.521, allocations: 0 / 0.7486 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.521, allocations: 3.984 kB / 0.7486 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.5246, allocations: 2.505 MB / 0.751 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5246, allocations: 0 / 0.751 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/0.5253, allocations: 183.8 kB / 0.7512 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.5258, allocations: 84.77 kB / 0.7513 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.5259, allocations: 31.98 kB / 0.7513 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.5275, allocations: 1.552 MB / 0.7528 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5275, allocations: 0 / 0.7528 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.5293, allocations: 1.113 MB / 0.7539 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.5297, allocations: 343.3 kB / 0.7542 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.5299, allocations: 23.94 kB / 0.7542 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.5305, allocations: 80.08 kB / 0.7543 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5307, allocations: 76.88 kB / 0.7544 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.5307, allocations: 35.98 kB / 0.7544 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006262/0.5314, allocations: 0.5536 MB / 0.755 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5314, allocations: 7.938 kB / 0.755 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008612/0.5323, allocations: 398.5 kB / 0.7554 GB, free: 14.91 MB / 0.5919 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 (107): * Single equations (assignments): 104 * 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.001173/0.5334, allocations: 0.5983 MB / 0.7559 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.535, allocations: 0.9641 MB / 0.7569 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5351, allocations: 0 / 0.7569 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008811/0.5359, allocations: 0.5782 MB / 0.7574 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.537, allocations: 272 kB / 0.7577 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.5413, allocations: 2.935 MB / 0.7606 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.5419, allocations: 1.166 MB / 0.7617 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008372/0.5427, allocations: 291.7 kB / 0.762 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.5431, allocations: 127.4 kB / 0.7621 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5431, allocations: 0 / 0.7621 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of Templates: time 0.0234/0.5665, allocations: 15.95 MB / 0.7777 GB, free: 8.355 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)