Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001508, allocations: 112.6 kB / 16.37 MB, free: 6 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.001647/0.001648, allocations: 196 kB / 17.31 MB, free: 5.613 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8011/0.8011, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4291, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009683/0.4389, allocations: 6.962 MB / 0.5883 GB, free: 22.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1795/0.6184, allocations: 155.7 MB / 0.7403 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.6206, allocations: 31.81 kB / 0.7404 GB, free: 10.96 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001122/0.6217, allocations: 289.2 kB / 0.7407 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.6247, allocations: 0.7156 MB / 0.7413 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.6276, allocations: 1.286 MB / 0.7426 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00543/0.6331, allocations: 4.567 MB / 0.7471 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/0.6365, allocations: 2.681 MB / 0.7497 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3637/1, allocations: 1.748 MB / 0.7514 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/1.003, allocations: 1.781 MB / 0.7531 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/1.004, allocations: 468.7 kB / 0.7536 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/1.006, allocations: 1.068 MB / 0.7546 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008785/1.007, allocations: 0.9957 MB / 0.7556 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002909/1.01, allocations: 1.884 MB / 0.7574 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007945/1.018, allocations: 5.552 MB / 0.7629 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.018, allocations: 4.5 kB / 0.7629 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/1.018, allocations: 0.625 kB / 0.7629 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001939/1.018, allocations: 0 / 0.7629 GB, free: 3.844 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.01152/1.03, allocations: 3.896 MB / 0.7667 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.03, allocations: 11.73 kB / 0.7667 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009992/1.04, allocations: 1.282 MB / 0.7679 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/1.046, allocations: 2.169 MB / 0.77 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/1.046, allocations: 230.3 kB / 0.7703 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/1.048, allocations: 294.7 kB / 0.7705 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/1.059, allocations: 4.45 MB / 0.7749 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.146e-05/1.059, allocations: 3.156 kB / 0.7749 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/1.06, allocations: 128.4 kB / 0.775 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/1.06, allocations: 77.64 kB / 0.7751 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/1.073, allocations: 4.912 MB / 0.7799 GB, free: 1.215 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/1.1, allocations: 14.02 MB / 0.7936 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/1.111, allocations: 4.046 MB / 0.7975 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004561/1.115, allocations: 1.662 MB / 0.7992 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/1.117, allocations: 1.074 MB / 0.8002 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005609/1.123, allocations: 2.033 MB / 0.8022 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 4.979e-06/1.123, allocations: 0 / 0.8022 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01385/1.137, allocations: 5.225 MB / 0.8073 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/1.137, allocations: 208 kB / 0.8075 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/1.14, allocations: 1.975 MB / 0.8094 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006778/1.141, allocations: 62.95 kB / 0.8095 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.142, allocations: 1.192 MB / 0.8106 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.143, allocations: 0.7163 MB / 0.8113 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/1.145, allocations: 0.5192 MB / 0.8119 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.145, allocations: 307.4 kB / 0.8121 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/1.148, allocations: 1.577 MB / 0.8137 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004097/1.152, allocations: 1.866 MB / 0.8155 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007846/1.16, allocations: 3.433 MB / 0.8189 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.16, allocations: 0 / 0.8189 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01045/1.171, allocations: 3.951 MB / 0.8227 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/1.171, allocations: 12.62 kB / 0.8227 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.171, allocations: 4.969 kB / 0.8227 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.172, allocations: 96.28 kB / 0.8228 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.176, allocations: 0.6971 MB / 0.8235 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/1.178, allocations: 1.692 MB / 0.8252 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/1.182, allocations: 433.5 kB / 0.8256 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006953/1.183, allocations: 131.8 kB / 0.8257 GB, free: 10.58 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (273): * Single equations (assignments): 272 * 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.002422/1.185, allocations: 0.9471 MB / 0.8266 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009099/1.186, allocations: 217.3 kB / 0.8268 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.197, allocations: 4.199 MB / 0.8309 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/1.197, allocations: 24 kB / 0.831 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.197, allocations: 3.844 kB / 0.831 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/1.197, allocations: 11.95 kB / 0.831 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.212, allocations: 7.863 MB / 0.8386 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.212, allocations: 4 kB / 0.8387 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/1.215, allocations: 0.5719 MB / 0.8392 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/1.215, allocations: 84.78 kB / 0.8393 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/1.216, allocations: 67.94 kB / 0.8394 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/1.218, allocations: 1.719 MB / 0.841 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.218, allocations: 0 / 0.841 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008124/1.226, allocations: 3.464 MB / 0.8444 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/1.228, allocations: 0.7435 MB / 0.8451 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005741/1.228, allocations: 67.69 kB / 0.8452 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.231, allocations: 268.7 kB / 0.8455 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.231, allocations: 149.9 kB / 0.8456 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/1.231, allocations: 83.94 kB / 0.8457 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002371/1.234, allocations: 1.511 MB / 0.8472 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/1.234, allocations: 0 / 0.8472 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003136/1.237, allocations: 0.8644 MB / 0.848 GB, free: 3.461 MB / 0.6231 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,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * 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.001737/1.239, allocations: 0.6952 MB / 0.8487 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00893/1.248, allocations: 3.589 MB / 0.8522 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.248, allocations: 0 / 0.8522 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004111/1.252, allocations: 1.796 MB / 0.8539 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.255, allocations: 444.6 kB / 0.8544 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.269, allocations: 6.297 MB / 0.8605 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/1.271, allocations: 2.281 MB / 0.8627 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003673/1.275, allocations: 0.9223 MB / 0.8636 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.276, allocations: 291.2 kB / 0.8639 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of SimCode: time 1.543e-06/1.276, allocations: 0 / 0.8639 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of Templates: time 0.06993/1.346, allocations: 40.43 MB / 0.9034 GB, free: 11.4 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & ./IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)