Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_dev_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.001163/0.001163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001125/0.001125, allocations: 191 kB / 16.25 MB, free: 6.637 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8298/0.8298, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 60.33 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1194, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007418/0.1268, allocations: 6.909 MB / 0.5907 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3332/0.4601, allocations: 153.4 MB / 0.7405 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.4612, allocations: 32.5 kB / 0.7406 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008039/0.462, allocations: 222 kB / 0.7408 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.4638, allocations: 0.617 MB / 0.7414 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.4661, allocations: 1.152 MB / 0.7425 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.4695, allocations: 4.578 MB / 0.747 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.4721, allocations: 2.872 MB / 0.7498 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.4746, allocations: 1.745 MB / 0.7515 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.4761, allocations: 1.787 MB / 0.7532 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004593/0.4766, allocations: 468 kB / 0.7537 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.478, allocations: 1.042 MB / 0.7547 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007175/0.4787, allocations: 0.9893 MB / 0.7557 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.4801, allocations: 1.878 MB / 0.7575 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.4842, allocations: 5.391 MB / 0.7628 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4842, allocations: 0 / 0.7628 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4842, allocations: 0 / 0.7628 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.235e-05/0.4843, allocations: 0 / 0.7628 GB, free: 6.098 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.006107/0.4904, allocations: 3.865 MB / 0.7665 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4904, allocations: 12.03 kB / 0.7666 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004612/0.4909, allocations: 425.5 kB / 0.767 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008945/0.4998, allocations: 1.279 MB / 0.7682 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.5026, allocations: 2.093 MB / 0.7703 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.5028, allocations: 237.9 kB / 0.7705 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/0.5032, allocations: 296 kB / 0.7708 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007667/0.5109, allocations: 4.452 MB / 0.7751 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-05/0.511, allocations: 4 kB / 0.7751 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002848/0.5113, allocations: 120 kB / 0.7752 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.5113, allocations: 76 kB / 0.7753 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009469/0.5208, allocations: 4.885 MB / 0.7801 GB, free: 4.113 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.01772/0.5385, allocations: 14.14 MB / 0.7939 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009302/0.5478, allocations: 4.047 MB / 0.7978 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003217/0.5511, allocations: 1.666 MB / 0.7995 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.5522, allocations: 1.069 MB / 0.8005 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00386/0.556, allocations: 2.035 MB / 0.8025 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=214): time 3.447e-06/0.556, allocations: 0 / 0.8025 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=214): time 0.01192/0.568, allocations: 5.226 MB / 0.8076 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.5681, allocations: 201.9 kB / 0.8078 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.5703, allocations: 1.935 MB / 0.8097 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.5705, allocations: 61.7 kB / 0.8097 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007768/0.5713, allocations: 1.18 MB / 0.8109 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000572/0.5719, allocations: 0.7162 MB / 0.8116 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007911/0.5727, allocations: 0.5031 MB / 0.8121 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.5728, allocations: 305.1 kB / 0.8124 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003422/0.5762, allocations: 1.55 MB / 0.8139 GB, free: 392 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003695/0.5799, allocations: 1.874 MB / 0.8157 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007067/0.587, allocations: 3.396 MB / 0.819 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.587, allocations: 4 kB / 0.819 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008602/0.5956, allocations: 3.896 MB / 0.8228 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5956, allocations: 8 kB / 0.8228 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5957, allocations: 8 kB / 0.8228 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.5962, allocations: 92.77 kB / 0.8229 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/0.5996, allocations: 0.6864 MB / 0.8236 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.6016, allocations: 1.711 MB / 0.8253 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/0.6045, allocations: 425.6 kB / 0.8257 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.6047, allocations: 127.8 kB / 0.8258 GB, free: 3.832 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.606, allocations: 0.9205 MB / 0.8267 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.6064, allocations: 217.3 kB / 0.8269 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0095/0.6159, allocations: 4.202 MB / 0.831 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.6159, allocations: 20 kB / 0.831 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6159, allocations: 0 / 0.831 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.616, allocations: 19.94 kB / 0.8311 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.6285, allocations: 7.902 MB / 0.8388 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6286, allocations: 0 / 0.8388 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/0.6313, allocations: 0.585 MB / 0.8393 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.6317, allocations: 80.72 kB / 0.8394 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.6319, allocations: 67.89 kB / 0.8395 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.6337, allocations: 1.713 MB / 0.8412 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6337, allocations: 0 / 0.8412 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007231/0.641, allocations: 3.457 MB / 0.8445 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.642, allocations: 0.7476 MB / 0.8453 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003514/0.6424, allocations: 63.69 kB / 0.8453 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/0.6447, allocations: 275.6 kB / 0.8456 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.645, allocations: 145.8 kB / 0.8457 GB, free: 15.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.6452, allocations: 83.94 kB / 0.8458 GB, free: 14.95 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001802/0.647, allocations: 1.482 MB / 0.8473 GB, free: 13.45 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.647, allocations: 3.938 kB / 0.8473 GB, free: 13.44 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001782/0.6488, allocations: 0.8643 MB / 0.8481 GB, free: 12.57 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.00889/0.6577, allocations: 4.607 MB / 0.8526 GB, free: 8.145 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01353/0.6712, allocations: 5.893 MB / 0.8584 GB, free: 2.242 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6712, allocations: 0 / 0.8584 GB, free: 2.242 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003493/0.6747, allocations: 1.798 MB / 0.8601 GB, free: 440 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.6765, allocations: 447.5 kB / 0.8605 GB, free: 12 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2584/0.935, allocations: 27.33 MB / 0.8872 GB, free: 204 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.9363, allocations: 2.247 MB / 0.8894 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003143/0.9395, allocations: 0.9185 MB / 0.8903 GB, free: 202.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/0.9413, allocations: 1.246 MB / 0.8915 GB, free: 202 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/0.9413, allocations: 1.25 kB / 0.8915 GB, free: 202 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.217/1.158, allocations: 59.22 MB / 0.9494 GB, free: 172 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.159, allocations: 274.4 kB / 0.9496 GB, free: 171.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/4.256, allocations: 8 kB / 0.9496 GB, free: 171.6 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)