Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005069/0.005069, allocations: 101.5 kB / 15.73 MB, free: 6.422 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.001146/0.001146, allocations: 191.3 kB / 16.67 MB, free: 6.352 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9431/0.9431, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5237, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005192/0.5289, allocations: 4.913 MB / 0.6694 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1771/0.7061, allocations: 150.8 MB / 0.8167 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008757/0.707, allocations: 23.88 kB / 0.8167 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.7076, allocations: 198.1 kB / 0.8169 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.7094, allocations: 0.5658 MB / 0.8175 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.7115, allocations: 0.9288 MB / 0.8184 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.713, allocations: 1.557 MB / 0.8199 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.7144, allocations: 1.156 MB / 0.821 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009058/0.7154, allocations: 0.6928 MB / 0.8217 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007357/0.7161, allocations: 0.735 MB / 0.8224 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.7163, allocations: 192 kB / 0.8226 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.7174, allocations: 0.5426 MB / 0.8231 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.7178, allocations: 442.6 kB / 0.8235 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006545/0.7184, allocations: 0.8122 MB / 0.8243 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.7208, allocations: 2.303 MB / 0.8266 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.7209, allocations: 4 kB / 0.8266 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7209, allocations: 0 / 0.8266 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.7209, allocations: 0 / 0.8266 GB, free: 11.14 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002784/0.7237, allocations: 1.822 MB / 0.8284 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.7237, allocations: 11.97 kB / 0.8284 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008958/0.7246, allocations: 238.8 kB / 0.8286 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.726, allocations: 0.9189 MB / 0.8295 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.7261, allocations: 140.6 kB / 0.8296 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.7263, allocations: 144 kB / 0.8298 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.7284, allocations: 1.461 MB / 0.8312 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.7285, allocations: 3.984 kB / 0.8312 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.7286, allocations: 64 kB / 0.8313 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.7286, allocations: 36 kB / 0.8313 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.7309, allocations: 1.498 MB / 0.8328 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.7362, allocations: 3.873 MB / 0.8365 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.7376, allocations: 0.9038 MB / 0.8374 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.7382, allocations: 363.7 kB / 0.8378 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.963e-05/0.7383, allocations: 36.86 kB / 0.8378 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.7392, allocations: 0.5553 MB / 0.8384 GB, free: 14.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=93): time 2.285e-06/0.7392, allocations: 0 / 0.8384 GB, free: 14.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.00312/0.7423, allocations: 1.368 MB / 0.8397 GB, free: 13.43 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.7425, allocations: 196.9 kB / 0.8399 GB, free: 13.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/0.7434, allocations: 0.7705 MB / 0.8406 GB, free: 12.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.7435, allocations: 41.7 kB / 0.8407 GB, free: 12.37 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.7439, allocations: 0.5735 MB / 0.8412 GB, free: 11.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.7442, allocations: 307.5 kB / 0.8415 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.7445, allocations: 194.5 kB / 0.8417 GB, free: 11.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7446, allocations: 345.9 kB / 0.842 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.7452, allocations: 325.8 kB / 0.8423 GB, free: 10.62 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/0.7459, allocations: 427.9 kB / 0.8428 GB, free: 10.19 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.7473, allocations: 0.7694 MB / 0.8435 GB, free: 9.402 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.7473, allocations: 0 / 0.8435 GB, free: 9.402 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00216/0.7495, allocations: 1.028 MB / 0.8445 GB, free: 8.363 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7495, allocations: 4 kB / 0.8445 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7495, allocations: 7.938 kB / 0.8445 GB, free: 8.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.7501, allocations: 92.84 kB / 0.8446 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.751, allocations: 199.7 kB / 0.8448 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.7537, allocations: 1.642 MB / 0.8464 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/0.7545, allocations: 111.1 kB / 0.8465 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7546, allocations: 47.91 kB / 0.8466 GB, free: 6.117 MB / 0.67 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 (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 (111): * Single equations (assignments): 110 * 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.0006303/0.7553, allocations: 324.4 kB / 0.8469 GB, free: 5.793 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.7555, allocations: 102.8 kB / 0.847 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/0.7584, allocations: 1.275 MB / 0.8482 GB, free: 4.406 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.7584, allocations: 19.92 kB / 0.8482 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.7584, allocations: 0 / 0.8482 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.7584, allocations: 3.984 kB / 0.8482 GB, free: 4.383 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/0.7624, allocations: 2.493 MB / 0.8507 GB, free: 1.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.7624, allocations: 3.938 kB / 0.8507 GB, free: 1.824 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/0.7631, allocations: 175.8 kB / 0.8508 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.7635, allocations: 76.78 kB / 0.8509 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.7636, allocations: 23.98 kB / 0.8509 GB, free: 1.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.7656, allocations: 1.681 MB / 0.8526 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7656, allocations: 0 / 0.8526 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.7678, allocations: 1.115 MB / 0.8537 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.7682, allocations: 311.5 kB / 0.854 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.7684, allocations: 23.91 kB / 0.854 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.769, allocations: 67.88 kB / 0.8541 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.7692, allocations: 72.89 kB / 0.8541 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.7693, allocations: 43.97 kB / 0.8542 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007292/0.77, allocations: 0.5537 MB / 0.8547 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.77, allocations: 0 / 0.8547 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001166/0.7712, allocations: 406.5 kB / 0.8551 GB, free: 13.11 MB / 0.6856 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 (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.001498/0.7727, allocations: 0.5985 MB / 0.8557 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.7746, allocations: 0.9718 MB / 0.8566 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7746, allocations: 4 kB / 0.8566 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009527/0.7756, allocations: 0.5744 MB / 0.8572 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.7767, allocations: 316 kB / 0.8575 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.781, allocations: 2.309 MB / 0.8597 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.7817, allocations: 1.165 MB / 0.8609 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007884/0.7825, allocations: 287.9 kB / 0.8612 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.7828, allocations: 127.4 kB / 0.8613 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.7828, allocations: 4 kB / 0.8613 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of Templates: time 0.3808/1.164, allocations: 17.42 MB / 0.8783 GB, free: 186.3 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)