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.007612/0.007612, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.002102/0.002102, allocations: 200 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8097/0.8097, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 62.97 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1424, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009397/0.1518, allocations: 6.947 MB / 0.6659 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4952/0.647, allocations: 155.7 MB / 0.818 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.6484, allocations: 30.06 kB / 0.818 GB, free: 3.426 MB / 0.6387 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.001015/0.6494, allocations: 293.3 kB / 0.8183 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.6515, allocations: 0.711 MB / 0.819 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.6541, allocations: 1.28 MB / 0.8203 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004437/0.6586, allocations: 4.569 MB / 0.8247 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/0.6614, allocations: 2.678 MB / 0.8273 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.6643, allocations: 1.761 MB / 0.8291 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.6663, allocations: 1.783 MB / 0.8308 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006047/0.6669, allocations: 466.8 kB / 0.8312 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.6689, allocations: 1.063 MB / 0.8323 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006631/0.6696, allocations: 0.9947 MB / 0.8333 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.6711, allocations: 1.889 MB / 0.8351 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004551/0.6757, allocations: 5.581 MB / 0.8406 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6757, allocations: 0 / 0.8406 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6757, allocations: 0.8438 kB / 0.8406 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.627e-05/0.6758, allocations: 0 / 0.8406 GB, free: 1.547 MB / 0.6387 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.006456/0.6822, allocations: 4.003 MB / 0.8445 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6823, allocations: 8.781 kB / 0.8445 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004668/0.6828, allocations: 427.9 kB / 0.8449 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009123/0.6919, allocations: 1.307 MB / 0.8462 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.6948, allocations: 2.182 MB / 0.8483 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.695, allocations: 232.5 kB / 0.8485 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/0.6954, allocations: 291.8 kB / 0.8488 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007546/0.7029, allocations: 4.45 MB / 0.8531 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/0.703, allocations: 5.875 kB / 0.8531 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.7033, allocations: 128.7 kB / 0.8533 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.7034, allocations: 75.41 kB / 0.8533 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009783/0.7131, allocations: 4.906 MB / 0.8581 GB, free: 14.5 MB / 0.6544 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.02088/0.734, allocations: 14.07 MB / 0.8719 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.7449, allocations: 4.033 MB / 0.8758 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003903/0.7489, allocations: 1.67 MB / 0.8774 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.7502, allocations: 1.069 MB / 0.8785 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004675/0.7549, allocations: 2.039 MB / 0.8805 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 4.929e-06/0.7549, allocations: 0 / 0.8805 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01405/0.769, allocations: 5.237 MB / 0.8856 GB, free: 13.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.7691, allocations: 210.9 kB / 0.8858 GB, free: 13.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003463/0.7726, allocations: 1.967 MB / 0.8877 GB, free: 12.29 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.7729, allocations: 69.7 kB / 0.8878 GB, free: 12.22 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.7742, allocations: 1.232 MB / 0.889 GB, free: 10.98 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008253/0.775, allocations: 0.7475 MB / 0.8897 GB, free: 10.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.7761, allocations: 0.4994 MB / 0.8902 GB, free: 9.73 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7763, allocations: 301.1 kB / 0.8905 GB, free: 9.434 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/0.7804, allocations: 1.554 MB / 0.892 GB, free: 7.875 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/0.785, allocations: 1.87 MB / 0.8938 GB, free: 5.906 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008575/0.7936, allocations: 3.4 MB / 0.8971 GB, free: 2.457 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.7936, allocations: 4 kB / 0.8971 GB, free: 2.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01069/0.8043, allocations: 3.912 MB / 0.901 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.8044, allocations: 8 kB / 0.901 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.8044, allocations: 4 kB / 0.901 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.805, allocations: 100.9 kB / 0.9011 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/0.8087, allocations: 0.6839 MB / 0.9017 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.8112, allocations: 1.704 MB / 0.9034 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/0.8147, allocations: 432.5 kB / 0.9038 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003661/0.8151, allocations: 123.9 kB / 0.9039 GB, free: 11.41 MB / 0.6856 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.002013/0.8171, allocations: 0.9408 MB / 0.9049 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007745/0.8179, allocations: 230.5 kB / 0.9051 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.8296, allocations: 4.198 MB / 0.9092 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.8296, allocations: 27.98 kB / 0.9092 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8297, allocations: 0 / 0.9092 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/0.8297, allocations: 7.969 kB / 0.9092 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.8464, allocations: 7.883 MB / 0.9169 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8464, allocations: 0 / 0.9169 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/0.8495, allocations: 0.5755 MB / 0.9175 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/0.85, allocations: 87.95 kB / 0.9176 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.8503, allocations: 63.95 kB / 0.9176 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.8525, allocations: 1.718 MB / 0.9193 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8526, allocations: 4.062 kB / 0.9193 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009072/0.8616, allocations: 3.477 MB / 0.9227 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.8632, allocations: 0.7525 MB / 0.9234 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006083/0.8639, allocations: 67.73 kB / 0.9235 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/0.8665, allocations: 271.6 kB / 0.9237 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.8669, allocations: 149.8 kB / 0.9239 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/0.8672, allocations: 87.88 kB / 0.924 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002772/0.8699, allocations: 1.511 MB / 0.9254 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8699, allocations: 0 / 0.9254 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002603/0.8726, allocations: 0.8726 MB / 0.9263 GB, free: 4.215 MB / 0.7012 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.01138/0.8839, allocations: 4.616 MB / 0.9308 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00926/0.8932, allocations: 3.556 MB / 0.9343 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8933, allocations: 4 kB / 0.9343 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004281/0.8975, allocations: 1.793 MB / 0.936 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.9002, allocations: 450.5 kB / 0.9365 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0574/0.9576, allocations: 24.28 MB / 0.9602 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/0.9603, allocations: 2.276 MB / 0.9624 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00343/0.9637, allocations: 0.9418 MB / 0.9633 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/0.9664, allocations: 1.265 MB / 0.9646 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of SimCode: time 2.495e-06/0.9664, allocations: 0 / 0.9646 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/1.107, allocations: 60.66 MB / 1.024 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.62, allocations: 13.25 kB / 1.024 GB, free: 0.8867 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)