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.0008653/0.0008653, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0008919/0.000892, allocations: 177.3 kB / 15.95 MB, free: 216 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.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8517/0.8517, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 82.31 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004677/0.1541, allocations: 4.14 MB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3921/0.5463, allocations: 127.7 MB / 0.716 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009197/0.5473, allocations: 15.53 kB / 0.716 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.5477, allocations: 92.67 kB / 0.7161 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.5494, allocations: 0.5364 MB / 0.7166 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.5514, allocations: 0.6991 MB / 0.7173 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.5528, allocations: 0.9493 MB / 0.7182 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.554, allocations: 0.9235 MB / 0.7191 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.5548, allocations: 451.1 kB / 0.7195 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.5553, allocations: 425.9 kB / 0.72 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.5554, allocations: 27.25 kB / 0.72 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007984/0.5562, allocations: 313.5 kB / 0.7203 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.5565, allocations: 223.9 kB / 0.7205 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.5567, allocations: 268.9 kB / 0.7207 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.5588, allocations: 1.688 MB / 0.7224 GB, free: 11.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5588, allocations: 3.938 kB / 0.7224 GB, free: 11.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5588, allocations: 4 kB / 0.7224 GB, free: 11.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.52e-05/0.5588, allocations: 5.031 kB / 0.7224 GB, free: 11.61 MB / 0.545 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.002782/0.5616, allocations: 1.496 MB / 0.7239 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.5617, allocations: 8.406 kB / 0.7239 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.5627, allocations: 256.1 kB / 0.7241 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.5641, allocations: 0.8675 MB / 0.725 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.5643, allocations: 144.5 kB / 0.7251 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.5645, allocations: 141.4 kB / 0.7252 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.5671, allocations: 1.453 MB / 0.7267 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.5671, allocations: 2.031 kB / 0.7267 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.5672, allocations: 61.75 kB / 0.7267 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.5673, allocations: 35.25 kB / 0.7268 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.5698, allocations: 1.492 MB / 0.7282 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005905/0.5757, allocations: 3.965 MB / 0.7321 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.5771, allocations: 0.8999 MB / 0.733 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-05/0.5772, allocations: 47.62 kB / 0.733 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008676/0.5781, allocations: 0.5423 MB / 0.7335 GB, free: 6.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=93): time 2.455e-06/0.5781, allocations: 4 kB / 0.7335 GB, free: 6.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=93): time 0.002987/0.5811, allocations: 1.389 MB / 0.7349 GB, free: 4.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.5812, allocations: 188.9 kB / 0.7351 GB, free: 4.738 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009156/0.5821, allocations: 0.759 MB / 0.7358 GB, free: 3.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/0.5822, allocations: 41.7 kB / 0.7359 GB, free: 3.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.5826, allocations: 0.5775 MB / 0.7364 GB, free: 3.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.5828, allocations: 307.5 kB / 0.7367 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.5829, allocations: 24 kB / 0.7367 GB, free: 3.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.583, allocations: 337.9 kB / 0.7371 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.5836, allocations: 305.8 kB / 0.7374 GB, free: 2.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.5842, allocations: 431.4 kB / 0.7378 GB, free: 1.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/0.5848, allocations: 370.9 kB / 0.7381 GB, free: 1.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5848, allocations: 0 / 0.7381 GB, free: 1.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001895/0.5867, allocations: 0.9814 MB / 0.7391 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5867, allocations: 5.875 kB / 0.7391 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5868, allocations: 4 kB / 0.7391 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/0.5873, allocations: 84.83 kB / 0.7392 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.5881, allocations: 187.7 kB / 0.7393 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.59, allocations: 1.552 MB / 0.7409 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.5906, allocations: 112.3 kB / 0.741 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.5907, allocations: 40.84 kB / 0.741 GB, free: 14.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0005422/0.5913, allocations: 313.6 kB / 0.7413 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5914, allocations: 102.7 kB / 0.7414 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.594, allocations: 1.316 MB / 0.7427 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.594, allocations: 12 kB / 0.7427 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5941, allocations: 3.984 kB / 0.7427 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5941, allocations: 3.984 kB / 0.7427 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.5977, allocations: 2.495 MB / 0.7451 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5977, allocations: 3.953 kB / 0.7451 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/0.5984, allocations: 183.7 kB / 0.7453 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.5989, allocations: 84.77 kB / 0.7454 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.599, allocations: 23.98 kB / 0.7454 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.6006, allocations: 1.583 MB / 0.747 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6006, allocations: 4.062 kB / 0.747 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.6025, allocations: 1.117 MB / 0.7481 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.603, allocations: 339.3 kB / 0.7484 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.6031, allocations: 20 kB / 0.7484 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.6038, allocations: 85.84 kB / 0.7485 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6039, allocations: 72.89 kB / 0.7486 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.604, allocations: 35.97 kB / 0.7486 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006918/0.6047, allocations: 0.5537 MB / 0.7491 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6047, allocations: 0 / 0.7491 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001015/0.6057, allocations: 398.6 kB / 0.7495 GB, free: 5.477 MB / 0.5606 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.001154/0.6069, allocations: 0.5933 MB / 0.7501 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.6085, allocations: 0.9364 MB / 0.751 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6085, allocations: 0 / 0.751 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008859/0.6094, allocations: 0.5783 MB / 0.7516 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.6105, allocations: 263 kB / 0.7518 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.615, allocations: 2.927 MB / 0.7547 GB, free: 344 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.6157, allocations: 1.193 MB / 0.7559 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008774/0.6166, allocations: 283.9 kB / 0.7561 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.6169, allocations: 127.4 kB / 0.7562 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.6169, allocations: 0 / 0.7562 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.02485/0.6418, allocations: 15.98 MB / 0.7718 GB, free: 14.89 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: