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.001618/0.001618, 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.002033/0.002034, allocations: 193.5 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 2.623/2.623, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.723/1.723, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 59.66 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2289, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.01791/0.2468, allocations: 6.945 MB / 0.5912 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6705/0.9174, allocations: 155.7 MB / 0.7433 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.9192, allocations: 33.19 kB / 0.7433 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.9207, allocations: 286.1 kB / 0.7436 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.9249, allocations: 0.7104 MB / 0.7443 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005604/0.9306, allocations: 1.281 MB / 0.7456 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008366/0.9389, allocations: 4.539 MB / 0.75 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007262/0.9463, allocations: 2.869 MB / 0.7528 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005438/0.9517, allocations: 1.733 MB / 0.7545 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004107/0.9559, allocations: 1.766 MB / 0.7562 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.9575, allocations: 468 kB / 0.7567 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/0.962, allocations: 1.038 MB / 0.7577 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00209/0.9641, allocations: 0.9893 MB / 0.7586 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004548/0.9687, allocations: 1.882 MB / 0.7605 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.9799, allocations: 5.392 MB / 0.7657 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.98, allocations: 0 / 0.7657 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.355e-06/0.98, allocations: 0 / 0.7657 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001592/0.9802, allocations: 0 / 0.7657 GB, free: 3.184 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.01699/0.9972, allocations: 3.869 MB / 0.7695 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.9973, allocations: 8.031 kB / 0.7695 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001628/0.9989, allocations: 429.5 kB / 0.7699 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/1.019, allocations: 1.279 MB / 0.7712 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00728/1.026, allocations: 2.097 MB / 0.7732 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/1.027, allocations: 226 kB / 0.7735 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/1.028, allocations: 292 kB / 0.7737 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/1.049, allocations: 4.46 MB / 0.7781 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/1.049, allocations: 3.938 kB / 0.7781 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/1.05, allocations: 124 kB / 0.7782 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/1.05, allocations: 76 kB / 0.7783 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02436/1.075, allocations: 4.878 MB / 0.783 GB, free: 1.207 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.04656/1.121, allocations: 14.13 MB / 0.7968 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02281/1.144, allocations: 4.043 MB / 0.8008 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008017/1.152, allocations: 1.67 MB / 0.8024 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002248/1.154, allocations: 1.069 MB / 0.8035 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009425/1.164, allocations: 2.039 MB / 0.8055 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=214): time 9.007e-06/1.164, allocations: 0 / 0.8055 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=214): time 0.0278/1.192, allocations: 5.218 MB / 0.8106 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/1.192, allocations: 209.9 kB / 0.8108 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005623/1.198, allocations: 1.928 MB / 0.8126 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006627/1.198, allocations: 65.64 kB / 0.8127 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001779/1.2, allocations: 1.184 MB / 0.8139 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/1.202, allocations: 0.7166 MB / 0.8146 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002108/1.204, allocations: 0.4991 MB / 0.815 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.204, allocations: 301.1 kB / 0.8153 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007869/1.212, allocations: 1.558 MB / 0.8169 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008701/1.221, allocations: 1.866 MB / 0.8187 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01724/1.238, allocations: 3.397 MB / 0.822 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.238, allocations: 0 / 0.822 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.02205/1.26, allocations: 3.903 MB / 0.8258 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/1.26, allocations: 8 kB / 0.8258 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.26, allocations: 7.984 kB / 0.8258 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/1.261, allocations: 100.8 kB / 0.8259 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008167/1.27, allocations: 0.6786 MB / 0.8266 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/1.273, allocations: 1.708 MB / 0.8282 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006408/1.28, allocations: 417.6 kB / 0.8286 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006976/1.281, allocations: 131.8 kB / 0.8288 GB, free: 0.9258 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.00341/1.284, allocations: 0.9245 MB / 0.8297 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.285, allocations: 217.3 kB / 0.8299 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/1.307, allocations: 4.198 MB / 0.834 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-05/1.308, allocations: 20 kB / 0.834 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.308, allocations: 7.922 kB / 0.834 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.237e-05/1.308, allocations: 11.97 kB / 0.834 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03058/1.338, allocations: 7.909 MB / 0.8417 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/1.338, allocations: 0 / 0.8417 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006817/1.345, allocations: 0.5773 MB / 0.8423 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009088/1.346, allocations: 84.78 kB / 0.8424 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005591/1.347, allocations: 67.88 kB / 0.8424 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/1.35, allocations: 1.724 MB / 0.8441 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.351, allocations: 0 / 0.8441 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.368, allocations: 3.461 MB / 0.8475 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/1.371, allocations: 0.7436 MB / 0.8482 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.372, allocations: 59.69 kB / 0.8483 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00524/1.377, allocations: 275.5 kB / 0.8486 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006634/1.378, allocations: 145.8 kB / 0.8487 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004384/1.378, allocations: 87.94 kB / 0.8488 GB, free: 12.03 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004381/1.383, allocations: 1.474 MB / 0.8502 GB, free: 10.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.82e-07/1.383, allocations: 0 / 0.8502 GB, free: 10.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00456/1.387, allocations: 0.8645 MB / 0.8511 GB, free: 9.668 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.02021/1.408, allocations: 4.597 MB / 0.8556 GB, free: 5.246 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3856/1.793, allocations: 5.891 MB / 0.8613 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.793, allocations: 0 / 0.8613 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007501/1.801, allocations: 1.794 MB / 0.8631 GB, free: 217 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/1.805, allocations: 439.4 kB / 0.8635 GB, free: 217 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08675/1.892, allocations: 26.04 MB / 0.8889 GB, free: 204.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003896/1.896, allocations: 2.244 MB / 0.8911 GB, free: 203.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007553/1.904, allocations: 0.919 MB / 0.892 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004224/1.908, allocations: 1.248 MB / 0.8932 GB, free: 202.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.343e-06/1.908, allocations: 0 / 0.8932 GB, free: 202.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2989/2.207, allocations: 59.45 MB / 0.9513 GB, free: 170.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.81/23.02, allocations: 5 kB / 0.9513 GB, free: 170.3 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)