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.001019/0.001019, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7199/0.7199, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 60.84 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3182, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007085/0.3253, allocations: 6.951 MB / 0.587 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1545/0.4798, allocations: 155.7 MB / 0.7391 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.4812, allocations: 27.88 kB / 0.7391 GB, free: 14.25 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.0009372/0.4821, allocations: 285.2 kB / 0.7394 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.4844, allocations: 0.716 MB / 0.7401 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.4869, allocations: 1.281 MB / 0.7413 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004033/0.4909, allocations: 4.54 MB / 0.7457 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.494, allocations: 2.681 MB / 0.7484 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.4965, allocations: 1.742 MB / 0.7501 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.4986, allocations: 1.786 MB / 0.7518 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008868/0.4995, allocations: 468 kB / 0.7522 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.5014, allocations: 1.034 MB / 0.7533 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.5025, allocations: 0.9893 MB / 0.7542 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.5043, allocations: 1.889 MB / 0.7561 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.509, allocations: 5.423 MB / 0.7614 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5091, allocations: 0 / 0.7614 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5091, allocations: 0 / 0.7614 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.515e-05/0.5091, allocations: 0 / 0.7614 GB, free: 7.32 MB / 0.5919 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.006352/0.5155, allocations: 3.896 MB / 0.7652 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5155, allocations: 12.03 kB / 0.7652 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004745/0.516, allocations: 421.6 kB / 0.7656 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0088/0.5248, allocations: 1.283 MB / 0.7668 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.5277, allocations: 2.14 MB / 0.7689 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.5279, allocations: 230 kB / 0.7691 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004134/0.5283, allocations: 296 kB / 0.7694 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007635/0.5359, allocations: 4.456 MB / 0.7738 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/0.536, allocations: 3.938 kB / 0.7738 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.5363, allocations: 124 kB / 0.7739 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.5363, allocations: 75.94 kB / 0.774 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.5464, allocations: 4.909 MB / 0.7788 GB, free: 5.23 MB / 0.6075 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.01982/0.5663, allocations: 14.15 MB / 0.7926 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009864/0.5762, allocations: 4.035 MB / 0.7965 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003447/0.5796, allocations: 1.667 MB / 0.7982 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.5807, allocations: 1.077 MB / 0.7992 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004005/0.5847, allocations: 2.039 MB / 0.8012 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.867e-06/0.5848, allocations: 0 / 0.8012 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01259/0.5974, allocations: 5.226 MB / 0.8063 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.5975, allocations: 209.9 kB / 0.8065 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.6001, allocations: 1.969 MB / 0.8084 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.6003, allocations: 65.7 kB / 0.8085 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/0.6012, allocations: 1.196 MB / 0.8097 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/0.6018, allocations: 0.72 MB / 0.8104 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008124/0.6026, allocations: 0.4992 MB / 0.8108 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.6027, allocations: 301.1 kB / 0.8111 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/0.6062, allocations: 1.55 MB / 0.8126 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.209/0.8152, allocations: 1.876 MB / 0.8145 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007843/0.8231, allocations: 3.389 MB / 0.8178 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.8231, allocations: 5.375 kB / 0.8178 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009372/0.8325, allocations: 3.899 MB / 0.8216 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8326, allocations: 8.047 kB / 0.8216 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.8326, allocations: 5.438 kB / 0.8216 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.8332, allocations: 99.33 kB / 0.8217 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/0.8366, allocations: 0.6883 MB / 0.8224 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.8384, allocations: 1.702 MB / 0.824 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/0.8414, allocations: 425.6 kB / 0.8244 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.8416, allocations: 124.2 kB / 0.8246 GB, free: 210.7 MB / 0.6387 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.001485/0.8431, allocations: 0.9413 MB / 0.8255 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000463/0.8436, allocations: 219.8 kB / 0.8257 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009061/0.8527, allocations: 4.207 MB / 0.8298 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.8527, allocations: 22.56 kB / 0.8298 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8527, allocations: 5.062 kB / 0.8298 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.8527, allocations: 11.95 kB / 0.8298 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.8643, allocations: 7.9 MB / 0.8376 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.8643, allocations: 0 / 0.8376 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/0.8671, allocations: 0.581 MB / 0.8381 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.8676, allocations: 78.3 kB / 0.8382 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.8677, allocations: 71.72 kB / 0.8383 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.8693, allocations: 1.72 MB / 0.8399 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8693, allocations: 4.062 kB / 0.8399 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007061/0.8764, allocations: 3.468 MB / 0.8433 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.8775, allocations: 0.7396 MB / 0.8441 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/0.8778, allocations: 67.38 kB / 0.8441 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/0.8801, allocations: 269.4 kB / 0.8444 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.8803, allocations: 146.6 kB / 0.8445 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.8805, allocations: 85.72 kB / 0.8446 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001693/0.8822, allocations: 1.51 MB / 0.8461 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.8822, allocations: 4 kB / 0.8461 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001796/0.884, allocations: 0.8724 MB / 0.8469 GB, free: 199.1 MB / 0.6387 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.007841/0.8919, allocations: 4.593 MB / 0.8514 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01226/0.9041, allocations: 5.892 MB / 0.8572 GB, free: 190 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9042, allocations: 4.062 kB / 0.8572 GB, free: 190 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003083/0.9073, allocations: 1.794 MB / 0.8589 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.9092, allocations: 446.7 kB / 0.8594 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/0.9461, allocations: 26.31 MB / 0.885 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.9473, allocations: 2.285 MB / 0.8873 GB, free: 157.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003006/0.9504, allocations: 0.9302 MB / 0.8882 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/0.9521, allocations: 1.264 MB / 0.8894 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/0.9521, allocations: 0 / 0.8894 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07416/1.026, allocations: 59.91 MB / 0.9479 GB, free: 95.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.34, allocations: 2.188 kB / 0.9479 GB, free: 95.98 MB / 0.6387 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)