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.006299/0.006299, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.00134/0.00134, allocations: 197 kB / 16.68 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.631/1.631, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9582/0.9582, allocations: 135.1 MB / 425.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 59.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5581, allocations: 80.91 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006257/0.5644, allocations: 4.918 MB / 0.6694 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1868/0.7513, allocations: 150.8 MB / 0.8167 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.7526, allocations: 19.94 kB / 0.8167 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.7533, allocations: 190.2 kB / 0.8169 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.7555, allocations: 0.5731 MB / 0.8175 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.7579, allocations: 0.9303 MB / 0.8184 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.7596, allocations: 1.561 MB / 0.8199 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.761, allocations: 1.152 MB / 0.821 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009202/0.7619, allocations: 0.7006 MB / 0.8217 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007224/0.7627, allocations: 0.7272 MB / 0.8224 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.7629, allocations: 192 kB / 0.8226 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.764, allocations: 0.5542 MB / 0.8231 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.7644, allocations: 438.6 kB / 0.8235 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006643/0.765, allocations: 0.8006 MB / 0.8243 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.7675, allocations: 2.311 MB / 0.8266 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7676, allocations: 0 / 0.8266 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7676, allocations: 7.938 kB / 0.8266 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.7676, allocations: 0 / 0.8266 GB, free: 11.11 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.002985/0.7706, allocations: 1.822 MB / 0.8284 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.7706, allocations: 8.031 kB / 0.8284 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.7716, allocations: 242.8 kB / 0.8286 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.773, allocations: 0.915 MB / 0.8295 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.7731, allocations: 140.7 kB / 0.8296 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.7733, allocations: 143.9 kB / 0.8298 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.7757, allocations: 1.469 MB / 0.8312 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.7758, allocations: 0 / 0.8312 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.7759, allocations: 60 kB / 0.8313 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.7759, allocations: 36 kB / 0.8313 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.7782, allocations: 1.494 MB / 0.8328 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006104/0.7844, allocations: 3.873 MB / 0.8365 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.7859, allocations: 0.8997 MB / 0.8374 GB, free: 15.77 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.7865, allocations: 371.7 kB / 0.8378 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.7866, allocations: 41.08 kB / 0.8378 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.7877, allocations: 0.5435 MB / 0.8383 GB, free: 14.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=93): time 3.787e-06/0.7877, allocations: 0 / 0.8383 GB, free: 14.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.003438/0.7911, allocations: 1.372 MB / 0.8397 GB, free: 13.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.7913, allocations: 192.9 kB / 0.8399 GB, free: 13.17 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009865/0.7922, allocations: 0.7706 MB / 0.8406 GB, free: 12.39 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.7923, allocations: 41.7 kB / 0.8407 GB, free: 12.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.7928, allocations: 0.5774 MB / 0.8412 GB, free: 11.76 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.7931, allocations: 311.5 kB / 0.8415 GB, free: 11.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.7934, allocations: 190.5 kB / 0.8417 GB, free: 11.26 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7935, allocations: 338 kB / 0.842 GB, free: 10.92 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.7941, allocations: 329.8 kB / 0.8423 GB, free: 10.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.7948, allocations: 439.9 kB / 0.8428 GB, free: 10.15 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.7962, allocations: 0.7616 MB / 0.8435 GB, free: 9.375 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.7962, allocations: 4 kB / 0.8435 GB, free: 9.371 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002234/0.7984, allocations: 1.028 MB / 0.8445 GB, free: 8.332 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.7985, allocations: 4 kB / 0.8445 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7985, allocations: 7.938 kB / 0.8445 GB, free: 8.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.7991, allocations: 84.84 kB / 0.8446 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/0.7999, allocations: 199.7 kB / 0.8448 GB, free: 8.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.8021, allocations: 1.649 MB / 0.8464 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/0.803, allocations: 107 kB / 0.8465 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/0.8031, allocations: 47.95 kB / 0.8466 GB, free: 6.094 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.0007113/0.8038, allocations: 332.4 kB / 0.8469 GB, free: 5.762 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.804, allocations: 98.78 kB / 0.847 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.8067, allocations: 1.279 MB / 0.8482 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.8068, allocations: 15.94 kB / 0.8482 GB, free: 4.359 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8068, allocations: 0 / 0.8482 GB, free: 4.359 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.8068, allocations: 3.984 kB / 0.8482 GB, free: 4.355 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.8111, allocations: 2.493 MB / 0.8507 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8111, allocations: 0 / 0.8507 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/0.8119, allocations: 183.7 kB / 0.8508 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.8123, allocations: 76.78 kB / 0.8509 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.8124, allocations: 23.98 kB / 0.8509 GB, free: 1.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.8145, allocations: 1.67 MB / 0.8526 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8145, allocations: 0 / 0.8526 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.8169, allocations: 1.119 MB / 0.8537 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.8174, allocations: 315.6 kB / 0.854 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.8177, allocations: 27.88 kB / 0.854 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/0.8185, allocations: 63.94 kB / 0.8541 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.8187, allocations: 68.91 kB / 0.8541 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.8187, allocations: 43.97 kB / 0.8542 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008931/0.8196, allocations: 0.5537 MB / 0.8547 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8197, allocations: 0 / 0.8547 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001278/0.8209, allocations: 410.5 kB / 0.8551 GB, free: 13.09 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.001566/0.8225, allocations: 0.5871 MB / 0.8557 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002746/0.8253, allocations: 0.9717 MB / 0.8566 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8253, allocations: 4 kB / 0.8566 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.8266, allocations: 0.5785 MB / 0.8572 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.8286, allocations: 316.8 kB / 0.8575 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/0.8349, allocations: 2.305 MB / 0.8597 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/0.8364, allocations: 1.161 MB / 0.8609 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001649/0.8381, allocations: 303.8 kB / 0.8612 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.8388, allocations: 127.4 kB / 0.8613 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of SimCode: time 4.729e-06/0.8388, allocations: 0 / 0.8613 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of Templates: time 0.4469/1.286, allocations: 17.4 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)