Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",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.001262/0.001262, 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.001335/0.001335, allocations: 198.8 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7117/0.7117, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.88 kB / 0.5019 GB, free: 8.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 80.21 MB / 0.5802 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007838/0.1367, allocations: 6.959 MB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3433/0.48, allocations: 155.7 MB / 0.7391 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.4811, allocations: 33.78 kB / 0.7391 GB, free: 11.6 MB / 0.5606 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.0008354/0.4819, allocations: 290.3 kB / 0.7394 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.484, allocations: 0.7015 MB / 0.74 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.4865, allocations: 1.287 MB / 0.7413 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003505/0.49, allocations: 4.534 MB / 0.7457 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.4925, allocations: 2.691 MB / 0.7484 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.4946, allocations: 1.736 MB / 0.7501 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.4961, allocations: 1.785 MB / 0.7518 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.4966, allocations: 464 kB / 0.7522 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.4981, allocations: 1.034 MB / 0.7532 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006937/0.4988, allocations: 1.001 MB / 0.7542 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.5002, allocations: 1.878 MB / 0.7561 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.5042, allocations: 5.426 MB / 0.7614 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5042, allocations: 0 / 0.7614 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5042, allocations: 0 / 0.7614 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.5042, allocations: 0 / 0.7614 GB, free: 9.176 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.006036/0.5103, allocations: 3.898 MB / 0.7652 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.5103, allocations: 8.031 kB / 0.7652 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004465/0.5108, allocations: 425.5 kB / 0.7656 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008918/0.5197, allocations: 1.291 MB / 0.7668 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.5224, allocations: 2.144 MB / 0.7689 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.5225, allocations: 226 kB / 0.7692 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.5229, allocations: 292 kB / 0.7694 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/0.5303, allocations: 4.452 MB / 0.7738 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.5304, allocations: 4 kB / 0.7738 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/0.5307, allocations: 120 kB / 0.7739 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.5307, allocations: 76 kB / 0.774 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00979/0.5405, allocations: 4.913 MB / 0.7788 GB, free: 7.094 MB / 0.5919 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.01752/0.5581, allocations: 14.16 MB / 0.7926 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009732/0.5678, allocations: 4.039 MB / 0.7965 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/0.5712, allocations: 1.667 MB / 0.7982 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.5722, allocations: 1.081 MB / 0.7992 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003889/0.5761, allocations: 2.031 MB / 0.8012 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=214): time 3.446e-06/0.5762, allocations: 0 / 0.8012 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=214): time 0.01218/0.5883, allocations: 5.226 MB / 0.8063 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.5884, allocations: 209.9 kB / 0.8065 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.5907, allocations: 1.973 MB / 0.8084 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.5908, allocations: 61.7 kB / 0.8085 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008087/0.5917, allocations: 1.192 MB / 0.8097 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005462/0.5922, allocations: 0.7239 MB / 0.8104 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007772/0.593, allocations: 0.4992 MB / 0.8108 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.5931, allocations: 309.1 kB / 0.8111 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/0.5965, allocations: 1.55 MB / 0.8127 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/0.6002, allocations: 1.874 MB / 0.8145 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007126/0.6073, allocations: 3.392 MB / 0.8178 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6074, allocations: 4 kB / 0.8178 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008777/0.6161, allocations: 3.903 MB / 0.8216 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6162, allocations: 8 kB / 0.8216 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6162, allocations: 4 kB / 0.8216 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/0.6168, allocations: 97.23 kB / 0.8217 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/0.6201, allocations: 0.6863 MB / 0.8224 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.6221, allocations: 1.7 MB / 0.8241 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/0.6249, allocations: 425.6 kB / 0.8245 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.6251, allocations: 119.9 kB / 0.8246 GB, free: 6.734 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.001291/0.6264, allocations: 0.9432 MB / 0.8255 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/0.6268, allocations: 217.3 kB / 0.8257 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009484/0.6363, allocations: 4.21 MB / 0.8298 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.6364, allocations: 24 kB / 0.8298 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6364, allocations: 0 / 0.8298 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.6364, allocations: 15.95 kB / 0.8298 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.6492, allocations: 7.911 MB / 0.8376 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6492, allocations: 0 / 0.8376 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/0.652, allocations: 0.5772 MB / 0.8381 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.6525, allocations: 84.78 kB / 0.8382 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.6527, allocations: 67.83 kB / 0.8383 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.6545, allocations: 1.717 MB / 0.84 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6545, allocations: 3.984 kB / 0.84 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007435/0.6619, allocations: 3.465 MB / 0.8433 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.663, allocations: 0.7397 MB / 0.8441 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003514/0.6634, allocations: 63.69 kB / 0.8441 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/0.6657, allocations: 271.6 kB / 0.8444 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.666, allocations: 145.9 kB / 0.8445 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.6662, allocations: 87.92 kB / 0.8446 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001922/0.6681, allocations: 1.526 MB / 0.8461 GB, free: 272 kB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.6681, allocations: 0 / 0.8461 GB, free: 272 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001958/0.6701, allocations: 0.8567 MB / 0.8469 GB, free: 15.41 MB / 0.67 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.008742/0.6788, allocations: 4.599 MB / 0.8514 GB, free: 10.99 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01348/0.6923, allocations: 5.901 MB / 0.8572 GB, free: 5.082 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6924, allocations: 4 kB / 0.8572 GB, free: 5.078 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.696, allocations: 1.794 MB / 0.8589 GB, free: 3.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.698, allocations: 444.4 kB / 0.8594 GB, free: 2.859 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2369/0.9349, allocations: 26.29 MB / 0.885 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.9362, allocations: 2.279 MB / 0.8873 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002937/0.9391, allocations: 0.9285 MB / 0.8882 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/0.9408, allocations: 1.266 MB / 0.8894 GB, free: 207.4 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/0.9409, allocations: 0 / 0.8894 GB, free: 207.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07995/1.021, allocations: 59.92 MB / 0.9479 GB, free: 177.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.31, allocations: 11.91 kB / 0.9479 GB, free: 177.7 MB / 0.67 GB (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez_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_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)