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.001083/0.001088, 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.0009524/0.0009524, allocations: 193.6 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7152/0.7152, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.84 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3266, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007204/0.3339, allocations: 6.955 MB / 0.587 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.152/0.4859, allocations: 155.7 MB / 0.739 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007643/0.4867, allocations: 35.88 kB / 0.7391 GB, free: 14.25 MB / 0.5762 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.0007297/0.4875, allocations: 285.2 kB / 0.7394 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.489, allocations: 0.7084 MB / 0.74 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.491, allocations: 1.285 MB / 0.7413 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.4944, allocations: 4.532 MB / 0.7457 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.497, allocations: 2.685 MB / 0.7483 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.4991, allocations: 1.753 MB / 0.7501 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.5006, allocations: 1.774 MB / 0.7518 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005194/0.5012, allocations: 468 kB / 0.7522 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.5027, allocations: 1.042 MB / 0.7533 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007264/0.5034, allocations: 0.9893 MB / 0.7542 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.5049, allocations: 1.886 MB / 0.7561 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.5091, allocations: 5.427 MB / 0.7614 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5091, allocations: 0 / 0.7614 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5091, allocations: 0 / 0.7614 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.819e-05/0.5092, allocations: 0 / 0.7614 GB, free: 7.324 MB / 0.5919 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.006378/0.5155, allocations: 3.898 MB / 0.7652 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5156, allocations: 8.031 kB / 0.7652 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004555/0.516, allocations: 421.6 kB / 0.7656 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008767/0.5248, allocations: 1.287 MB / 0.7668 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.5276, allocations: 2.136 MB / 0.7689 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.5277, allocations: 234 kB / 0.7691 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003975/0.5282, allocations: 288 kB / 0.7694 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007406/0.5356, allocations: 4.456 MB / 0.7738 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/0.5356, allocations: 3.938 kB / 0.7738 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.5359, allocations: 124 kB / 0.7739 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/0.536, allocations: 75.98 kB / 0.774 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009737/0.5457, allocations: 4.909 MB / 0.7788 GB, free: 5.246 MB / 0.6075 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.01834/0.5641, allocations: 14.16 MB / 0.7926 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009784/0.5739, allocations: 4.035 MB / 0.7965 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/0.5773, allocations: 1.671 MB / 0.7982 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.5783, allocations: 1.077 MB / 0.7992 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003911/0.5823, allocations: 2.035 MB / 0.8012 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.747e-06/0.5823, allocations: 0 / 0.8012 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01223/0.5945, allocations: 5.222 MB / 0.8063 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.5946, allocations: 205.9 kB / 0.8065 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.597, allocations: 1.981 MB / 0.8084 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.5972, allocations: 61.7 kB / 0.8085 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008194/0.598, allocations: 1.192 MB / 0.8097 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005711/0.5986, allocations: 0.72 MB / 0.8104 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000795/0.5994, allocations: 0.4953 MB / 0.8108 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.5995, allocations: 305.1 kB / 0.8111 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/0.603, allocations: 1.561 MB / 0.8127 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2397/0.8427, allocations: 1.865 MB / 0.8145 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007762/0.8505, allocations: 3.396 MB / 0.8178 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.8505, allocations: 1.375 kB / 0.8178 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009434/0.86, allocations: 3.903 MB / 0.8216 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.86, allocations: 7.75 kB / 0.8216 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.86, allocations: 9.188 kB / 0.8216 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.8607, allocations: 97.11 kB / 0.8217 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/0.864, allocations: 0.6819 MB / 0.8224 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.8657, allocations: 1.709 MB / 0.824 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.8687, allocations: 426.3 kB / 0.8245 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.8689, allocations: 125.2 kB / 0.8246 GB, free: 210.8 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.001589/0.8705, allocations: 0.9361 MB / 0.8255 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/0.871, allocations: 218.8 kB / 0.8257 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009129/0.8801, allocations: 4.209 MB / 0.8298 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.8802, allocations: 22.66 kB / 0.8298 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8802, allocations: 5 kB / 0.8298 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.8802, allocations: 11.02 kB / 0.8298 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.8918, allocations: 7.9 MB / 0.8376 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8918, allocations: 0 / 0.8376 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/0.8945, allocations: 0.5776 MB / 0.8381 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.8949, allocations: 78.58 kB / 0.8382 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/0.8951, allocations: 68.03 kB / 0.8383 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.8967, allocations: 1.729 MB / 0.84 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8967, allocations: 0 / 0.84 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006778/0.9035, allocations: 3.461 MB / 0.8433 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009322/0.9044, allocations: 0.7466 MB / 0.8441 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.9048, allocations: 63.19 kB / 0.8441 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/0.9069, allocations: 272.6 kB / 0.8444 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.9072, allocations: 146.3 kB / 0.8445 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.9073, allocations: 84.64 kB / 0.8446 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001686/0.909, allocations: 1.512 MB / 0.8461 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.909, allocations: 7.828 kB / 0.8461 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0018/0.9108, allocations: 0.8656 MB / 0.8469 GB, free: 199.2 MB / 0.6387 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.007898/0.9187, allocations: 4.6 MB / 0.8514 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01194/0.9307, allocations: 5.89 MB / 0.8572 GB, free: 190 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9307, allocations: 8.203 kB / 0.8572 GB, free: 190 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003031/0.9338, allocations: 1.794 MB / 0.8589 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.9354, allocations: 431.8 kB / 0.8593 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03756/0.973, allocations: 26.31 MB / 0.885 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.9745, allocations: 2.285 MB / 0.8873 GB, free: 157.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002961/0.9775, allocations: 0.9377 MB / 0.8882 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/0.9793, allocations: 1.264 MB / 0.8894 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.9793, allocations: 0 / 0.8894 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07854/1.058, allocations: 59.91 MB / 0.9479 GB, free: 95.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.26, allocations: 0 / 0.9479 GB, free: 95.99 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)