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.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001254/0.001254, allocations: 190.6 kB / 16.14 MB, free: 6.707 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7006/0.7006, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 62.62 kB / 0.5012 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1504, allocations: 80.2 MB / 0.5795 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007839/0.1582, allocations: 6.92 MB / 0.5863 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3889/0.5472, allocations: 153.4 MB / 0.736 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.5484, allocations: 29.75 kB / 0.7361 GB, free: 13.86 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.0008013/0.5493, allocations: 220.5 kB / 0.7363 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.5514, allocations: 0.5903 MB / 0.7369 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.5538, allocations: 1.141 MB / 0.738 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00377/0.5576, allocations: 4.259 MB / 0.7421 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.5603, allocations: 2.61 MB / 0.7447 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.5628, allocations: 1.377 MB / 0.746 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.5642, allocations: 1.562 MB / 0.7475 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.5645, allocations: 191.7 kB / 0.7477 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.566, allocations: 0.7726 MB / 0.7485 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005229/0.5666, allocations: 0.7001 MB / 0.7492 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.5681, allocations: 1.593 MB / 0.7507 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.5727, allocations: 5.215 MB / 0.7558 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5727, allocations: 0 / 0.7558 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5727, allocations: 4 kB / 0.7558 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001124/0.5728, allocations: 0 / 0.7558 GB, free: 14.73 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.007661/0.5805, allocations: 3.892 MB / 0.7596 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5806, allocations: 8.031 kB / 0.7596 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005492/0.5811, allocations: 425.5 kB / 0.76 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008946/0.5901, allocations: 1.291 MB / 0.7613 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.5935, allocations: 2.144 MB / 0.7634 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.5936, allocations: 233.9 kB / 0.7636 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/0.594, allocations: 288 kB / 0.7639 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007815/0.6019, allocations: 4.452 MB / 0.7682 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.6019, allocations: 0 / 0.7682 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.6022, allocations: 124 kB / 0.7684 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.6023, allocations: 72 kB / 0.7684 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009528/0.6118, allocations: 4.917 MB / 0.7732 GB, free: 12.65 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.01945/0.6313, allocations: 14.15 MB / 0.787 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009219/0.6405, allocations: 4.036 MB / 0.791 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/0.6439, allocations: 1.663 MB / 0.7926 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.6449, allocations: 1.085 MB / 0.7937 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003837/0.6488, allocations: 2.031 MB / 0.7956 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=214): time 3.436e-06/0.6488, allocations: 0 / 0.7956 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=214): time 0.01176/0.6606, allocations: 5.226 MB / 0.8008 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.6607, allocations: 209.9 kB / 0.801 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.663, allocations: 1.969 MB / 0.8029 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.6632, allocations: 65.7 kB / 0.8029 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009162/0.6641, allocations: 1.192 MB / 0.8041 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005661/0.6646, allocations: 0.72 MB / 0.8048 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007741/0.6654, allocations: 0.4953 MB / 0.8053 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.6655, allocations: 309.1 kB / 0.8056 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/0.6688, allocations: 1.55 MB / 0.8071 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003627/0.6725, allocations: 1.866 MB / 0.8089 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007058/0.6796, allocations: 3.4 MB / 0.8122 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.6796, allocations: 4 kB / 0.8122 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008782/0.6884, allocations: 3.899 MB / 0.8161 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.6884, allocations: 9.875 kB / 0.8161 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6884, allocations: 4 kB / 0.8161 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.689, allocations: 93.25 kB / 0.8162 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/0.6923, allocations: 0.6942 MB / 0.8168 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.6942, allocations: 1.589 MB / 0.8184 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/0.6971, allocations: 433.5 kB / 0.8188 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/0.6974, allocations: 123.8 kB / 0.8189 GB, free: 12.42 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.001512/0.6989, allocations: 0.9361 MB / 0.8198 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004606/0.6994, allocations: 221.3 kB / 0.82 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00932/0.7087, allocations: 4.198 MB / 0.8241 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.7087, allocations: 24 kB / 0.8242 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7087, allocations: 0 / 0.8242 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.7088, allocations: 11.95 kB / 0.8242 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.721, allocations: 7.922 MB / 0.8319 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.721, allocations: 4 kB / 0.8319 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/0.7237, allocations: 0.5811 MB / 0.8325 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/0.7242, allocations: 88.78 kB / 0.8326 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.7244, allocations: 63.94 kB / 0.8326 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.7261, allocations: 1.606 MB / 0.8342 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7261, allocations: 3.984 kB / 0.8342 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00699/0.7331, allocations: 3.462 MB / 0.8376 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.7341, allocations: 0.7397 MB / 0.8383 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.7345, allocations: 59.69 kB / 0.8384 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/0.7366, allocations: 279.5 kB / 0.8386 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.7369, allocations: 149.7 kB / 0.8388 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/0.7371, allocations: 83.94 kB / 0.8389 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001842/0.739, allocations: 1.511 MB / 0.8403 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.739, allocations: 0 / 0.8403 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001888/0.7409, allocations: 0.8644 MB / 0.8412 GB, free: 5.211 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.008476/0.7493, allocations: 4.613 MB / 0.8457 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007031/0.7564, allocations: 3.534 MB / 0.8491 GB, free: 13.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7564, allocations: 4 kB / 0.8491 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003293/0.7597, allocations: 1.794 MB / 0.8509 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.7614, allocations: 419.3 kB / 0.8513 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2641/1.026, allocations: 27.6 MB / 0.8782 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/1.027, allocations: 2.28 MB / 0.8805 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003073/1.03, allocations: 0.9273 MB / 0.8814 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/1.032, allocations: 1.259 MB / 0.8826 GB, free: 210.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/1.032, allocations: 0 / 0.8826 GB, free: 210.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6105/1.642, allocations: 58.36 MB / 0.9396 GB, free: 185.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/1.643, allocations: 280.8 kB / 0.9399 GB, free: 185 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/4.852, allocations: 3.938 kB / 0.9399 GB, free: 184.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)