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.001115/0.001115, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001121/0.001121, allocations: 198.9 kB / 16.26 MB, free: 6.621 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.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6707/0.6707, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 59.69 kB / 0.5013 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1197, allocations: 80.21 MB / 0.5797 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007338/0.1271, allocations: 6.909 MB / 0.5864 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3245/0.4516, allocations: 153.4 MB / 0.7362 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/0.4522, allocations: 29.5 kB / 0.7363 GB, free: 13.55 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.0005846/0.4529, allocations: 217.5 kB / 0.7365 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.4543, allocations: 0.6141 MB / 0.7371 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.4563, allocations: 1.17 MB / 0.7382 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003243/0.4596, allocations: 4.571 MB / 0.7427 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.462, allocations: 2.688 MB / 0.7453 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.4643, allocations: 1.766 MB / 0.747 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.4657, allocations: 1.794 MB / 0.7488 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004524/0.4662, allocations: 468 kB / 0.7492 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.4676, allocations: 1.038 MB / 0.7502 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006711/0.4682, allocations: 0.997 MB / 0.7512 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.4696, allocations: 1.889 MB / 0.7531 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003968/0.4736, allocations: 5.427 MB / 0.7584 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4736, allocations: 3.984 kB / 0.7584 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4736, allocations: 0 / 0.7584 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.097e-05/0.4737, allocations: 0 / 0.7584 GB, free: 12.18 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.006048/0.4797, allocations: 3.893 MB / 0.7622 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4798, allocations: 12.03 kB / 0.7622 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004483/0.4802, allocations: 425.5 kB / 0.7626 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008605/0.4888, allocations: 1.287 MB / 0.7638 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.4915, allocations: 2.137 MB / 0.7659 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.4917, allocations: 230 kB / 0.7661 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/0.4921, allocations: 292 kB / 0.7664 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007493/0.4996, allocations: 4.46 MB / 0.7708 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.4996, allocations: 0 / 0.7708 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/0.4999, allocations: 124 kB / 0.7709 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.5, allocations: 72 kB / 0.771 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009509/0.5095, allocations: 4.917 MB / 0.7758 GB, free: 10.1 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.01783/0.5273, allocations: 14.15 MB / 0.7896 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009213/0.5365, allocations: 4.035 MB / 0.7935 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.5398, allocations: 1.671 MB / 0.7952 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.5408, allocations: 1.073 MB / 0.7962 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003837/0.5447, allocations: 2.034 MB / 0.7982 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=214): time 3.316e-06/0.5447, allocations: 0 / 0.7982 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=214): time 0.01165/0.5564, allocations: 5.23 MB / 0.8033 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.5565, allocations: 205.9 kB / 0.8035 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.5587, allocations: 1.969 MB / 0.8054 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.5588, allocations: 73.64 kB / 0.8055 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007907/0.5596, allocations: 1.196 MB / 0.8067 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/0.5602, allocations: 0.7122 MB / 0.8073 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007671/0.561, allocations: 0.5031 MB / 0.8078 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.5611, allocations: 301.1 kB / 0.8081 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/0.5644, allocations: 1.558 MB / 0.8096 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003581/0.568, allocations: 1.862 MB / 0.8115 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006871/0.5749, allocations: 3.396 MB / 0.8148 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5749, allocations: 4 kB / 0.8148 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008378/0.5833, allocations: 3.908 MB / 0.8186 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5833, allocations: 8 kB / 0.8186 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5833, allocations: 7.984 kB / 0.8186 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.5839, allocations: 92.88 kB / 0.8187 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/0.5872, allocations: 0.6863 MB / 0.8194 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.5891, allocations: 1.701 MB / 0.821 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.5918, allocations: 435.7 kB / 0.8215 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.5921, allocations: 123.9 kB / 0.8216 GB, free: 9.742 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.001236/0.5933, allocations: 0.9283 MB / 0.8225 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/0.5937, allocations: 221.3 kB / 0.8227 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009049/0.6028, allocations: 4.204 MB / 0.8268 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.6028, allocations: 24 kB / 0.8268 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6028, allocations: 0 / 0.8268 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.6028, allocations: 11.95 kB / 0.8268 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.6148, allocations: 7.918 MB / 0.8346 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6149, allocations: 7.938 kB / 0.8346 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002735/0.6176, allocations: 0.5811 MB / 0.8351 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/0.618, allocations: 76.78 kB / 0.8352 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.6182, allocations: 67.89 kB / 0.8353 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.62, allocations: 1.713 MB / 0.8369 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.62, allocations: 4.031 kB / 0.837 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007017/0.627, allocations: 3.469 MB / 0.8403 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009905/0.628, allocations: 0.7474 MB / 0.8411 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.6284, allocations: 59.69 kB / 0.8411 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/0.6306, allocations: 275.6 kB / 0.8414 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/0.6309, allocations: 145.8 kB / 0.8415 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/0.6311, allocations: 83.94 kB / 0.8416 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001795/0.6329, allocations: 1.515 MB / 0.8431 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6329, allocations: 0 / 0.8431 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001769/0.6347, allocations: 0.8721 MB / 0.8439 GB, free: 2.414 MB / 0.6544 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.008592/0.6433, allocations: 4.607 MB / 0.8484 GB, free: 13.99 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0129/0.6562, allocations: 5.889 MB / 0.8542 GB, free: 8.094 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6562, allocations: 4.375 kB / 0.8542 GB, free: 8.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003327/0.6595, allocations: 1.798 MB / 0.8559 GB, free: 6.277 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.6612, allocations: 443.6 kB / 0.8564 GB, free: 5.875 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2344/0.8956, allocations: 27.6 MB / 0.8833 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.8968, allocations: 2.274 MB / 0.8855 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002821/0.8997, allocations: 0.9361 MB / 0.8865 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/0.9013, allocations: 1.258 MB / 0.8877 GB, free: 207.1 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.9013, allocations: 4 kB / 0.8877 GB, free: 207.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.9729, allocations: 59.72 MB / 0.946 GB, free: 179.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.9731, allocations: 274.1 kB / 0.9463 GB, free: 178.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/3.854, allocations: 3.5 kB / 0.9463 GB, free: 178.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)