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: "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005145/0.005145, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001232/0.001232, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7286/0.7286, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 70.73 kB / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1226, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008121/0.1307, allocations: 6.939 MB / 0.6659 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4175/0.5483, allocations: 155.7 MB / 0.818 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008737/0.5492, allocations: 27.78 kB / 0.818 GB, free: 9.469 MB / 0.5919 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.0006833/0.5499, allocations: 286.7 kB / 0.8183 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.5516, allocations: 0.7218 MB / 0.819 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.5539, allocations: 1.299 MB / 0.8203 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003362/0.5573, allocations: 4.565 MB / 0.8247 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.5598, allocations: 2.681 MB / 0.8274 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.5623, allocations: 1.793 MB / 0.8291 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.564, allocations: 1.784 MB / 0.8309 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004525/0.5645, allocations: 467.5 kB / 0.8313 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.566, allocations: 1.068 MB / 0.8323 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006774/0.5667, allocations: 0.9917 MB / 0.8333 GB, free: 144 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.5682, allocations: 1.886 MB / 0.8352 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.5726, allocations: 5.583 MB / 0.8406 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5726, allocations: 4 kB / 0.8406 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5727, allocations: 0 / 0.8406 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.185e-05/0.5727, allocations: 2.188 kB / 0.8406 GB, free: 10.66 MB / 0.6075 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.006229/0.5789, allocations: 3.998 MB / 0.8445 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.579, allocations: 9.906 kB / 0.8445 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004576/0.5794, allocations: 430.9 kB / 0.8449 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008745/0.5882, allocations: 1.307 MB / 0.8462 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.5916, allocations: 2.185 MB / 0.8483 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.5917, allocations: 230 kB / 0.8486 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004292/0.5922, allocations: 288 kB / 0.8488 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007763/0.5999, allocations: 4.464 MB / 0.8532 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.6, allocations: 0 / 0.8532 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.6003, allocations: 124 kB / 0.8533 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.6004, allocations: 72 kB / 0.8534 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009863/0.6102, allocations: 4.913 MB / 0.8582 GB, free: 10.18 MB / 0.6231 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.01888/0.6291, allocations: 14.04 MB / 0.8719 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009733/0.6389, allocations: 4.048 MB / 0.8758 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.6423, allocations: 1.667 MB / 0.8775 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.6433, allocations: 1.081 MB / 0.8785 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003963/0.6473, allocations: 2.035 MB / 0.8805 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.557e-06/0.6473, allocations: 0 / 0.8805 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01233/0.6597, allocations: 5.243 MB / 0.8856 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/0.6598, allocations: 201.9 kB / 0.8858 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.6622, allocations: 1.97 MB / 0.8878 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.6624, allocations: 69.69 kB / 0.8878 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009168/0.6634, allocations: 1.226 MB / 0.889 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005964/0.664, allocations: 0.7514 MB / 0.8898 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000797/0.6648, allocations: 0.4994 MB / 0.8902 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.6648, allocations: 305.1 kB / 0.8905 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/0.6683, allocations: 1.55 MB / 0.892 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003714/0.672, allocations: 1.866 MB / 0.8939 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007124/0.6791, allocations: 3.401 MB / 0.8972 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6791, allocations: 4 kB / 0.8972 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008822/0.688, allocations: 3.913 MB / 0.901 GB, free: 13.01 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.688, allocations: 12.06 kB / 0.901 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.688, allocations: 4 kB / 0.901 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.6886, allocations: 96.77 kB / 0.9011 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003359/0.692, allocations: 0.6863 MB / 0.9018 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.694, allocations: 1.702 MB / 0.9035 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/0.6969, allocations: 430.1 kB / 0.9039 GB, free: 9.941 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.6972, allocations: 123.8 kB / 0.904 GB, free: 9.82 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 12 (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 (265): * Single equations (assignments): 264 * 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.001539/0.6987, allocations: 0.94 MB / 0.9049 GB, free: 8.867 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/0.6992, allocations: 230.6 kB / 0.9051 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00926/0.7084, allocations: 4.207 MB / 0.9092 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.7085, allocations: 24 kB / 0.9093 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7085, allocations: 0 / 0.9093 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.7085, allocations: 11.95 kB / 0.9093 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.7215, allocations: 7.879 MB / 0.917 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7216, allocations: 0 / 0.917 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/0.7244, allocations: 0.5772 MB / 0.9175 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/0.7248, allocations: 76.8 kB / 0.9176 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.725, allocations: 71.88 kB / 0.9177 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.7269, allocations: 1.713 MB / 0.9193 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7269, allocations: 64 / 0.9193 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007464/0.7343, allocations: 3.497 MB / 0.9228 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.7357, allocations: 0.7563 MB / 0.9235 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/0.736, allocations: 67.77 kB / 0.9236 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/0.7383, allocations: 275.6 kB / 0.9238 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.7385, allocations: 145.8 kB / 0.924 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/0.7387, allocations: 79.95 kB / 0.924 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001887/0.7406, allocations: 1.515 MB / 0.9255 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7406, allocations: 0 / 0.9255 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001947/0.7426, allocations: 0.8726 MB / 0.9264 GB, free: 2.48 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,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.008809/0.7514, allocations: 4.615 MB / 0.9309 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007459/0.7589, allocations: 3.553 MB / 0.9343 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7589, allocations: 4 kB / 0.9343 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/0.763, allocations: 1.79 MB / 0.9361 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.7648, allocations: 452.9 kB / 0.9365 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04117/0.806, allocations: 24.29 MB / 0.9602 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.8076, allocations: 2.281 MB / 0.9625 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002695/0.8103, allocations: 0.9301 MB / 0.9634 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/0.8123, allocations: 1.261 MB / 0.9646 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.8123, allocations: 0 / 0.9646 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08778/0.9001, allocations: 60.68 MB / 1.024 GB, free: 14.68 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.74, allocations: 4.062 kB / 1.024 GB, free: 14.67 MB / 0.795 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)