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.00585/0.005854, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001213/0.001213, allocations: 187.7 kB / 16.67 MB, free: 5.949 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7403/0.7403, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 70.94 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 80.21 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009364/0.168, allocations: 6.936 MB / 0.6659 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5201/0.6882, allocations: 155.7 MB / 0.818 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.6893, allocations: 35.91 kB / 0.818 GB, free: 2.988 MB / 0.6387 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.0007009/0.69, allocations: 286.3 kB / 0.8183 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.692, allocations: 0.7137 MB / 0.819 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.6951, allocations: 1.283 MB / 0.8203 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00493/0.7001, allocations: 4.566 MB / 0.8247 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.703, allocations: 2.682 MB / 0.8273 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.7062, allocations: 1.786 MB / 0.8291 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.7093, allocations: 1.789 MB / 0.8308 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.7109, allocations: 468.2 kB / 0.8313 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.7141, allocations: 1.062 MB / 0.8323 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008569/0.7149, allocations: 0.9961 MB / 0.8333 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.7171, allocations: 1.887 MB / 0.8351 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.7223, allocations: 5.568 MB / 0.8406 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7223, allocations: 0.9375 kB / 0.8406 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7223, allocations: 0 / 0.8406 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.206e-05/0.7224, allocations: 0 / 0.8406 GB, free: 1.133 MB / 0.6387 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.007758/0.7302, allocations: 3.89 MB / 0.8444 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.7302, allocations: 10.34 kB / 0.8444 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004926/0.7307, allocations: 423.2 kB / 0.8448 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008958/0.7397, allocations: 1.299 MB / 0.8461 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.7436, allocations: 2.17 MB / 0.8482 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.7438, allocations: 230 kB / 0.8484 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008647/0.7447, allocations: 298.2 kB / 0.8487 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008925/0.7536, allocations: 4.446 MB / 0.853 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.171e-05/0.7537, allocations: 6.656 kB / 0.853 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.754, allocations: 129 kB / 0.8531 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/0.7541, allocations: 75.78 kB / 0.8532 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.7645, allocations: 4.905 MB / 0.858 GB, free: 14.44 MB / 0.6544 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.0296/0.7942, allocations: 14.03 MB / 0.8717 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.8052, allocations: 4.039 MB / 0.8757 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003958/0.8092, allocations: 1.666 MB / 0.8773 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.8104, allocations: 1.079 MB / 0.8783 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004986/0.8154, allocations: 2.037 MB / 0.8803 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 6.021e-06/0.8155, allocations: 0 / 0.8803 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01519/0.8307, allocations: 5.232 MB / 0.8854 GB, free: 13.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.8308, allocations: 202.8 kB / 0.8856 GB, free: 13.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/0.8352, allocations: 1.974 MB / 0.8876 GB, free: 12.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005841/0.8358, allocations: 65.7 kB / 0.8876 GB, free: 12.27 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.8372, allocations: 1.194 MB / 0.8888 GB, free: 11.06 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.8383, allocations: 0.7155 MB / 0.8895 GB, free: 10.35 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/0.84, allocations: 0.5061 MB / 0.89 GB, free: 9.836 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8402, allocations: 301.1 kB / 0.8903 GB, free: 9.539 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/0.8441, allocations: 1.554 MB / 0.8918 GB, free: 7.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004173/0.8483, allocations: 1.866 MB / 0.8936 GB, free: 6.016 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007893/0.8562, allocations: 3.401 MB / 0.8969 GB, free: 2.562 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.8563, allocations: 8.062 kB / 0.8969 GB, free: 2.555 MB / 0.67 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01108/0.8674, allocations: 3.895 MB / 0.9007 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.8674, allocations: 9.562 kB / 0.9007 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.8675, allocations: 4 kB / 0.9007 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006701/0.8681, allocations: 101.2 kB / 0.9008 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003597/0.8717, allocations: 0.687 MB / 0.9015 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.8739, allocations: 1.704 MB / 0.9032 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/0.8774, allocations: 421.5 kB / 0.9036 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/0.878, allocations: 123.8 kB / 0.9037 GB, free: 11.53 MB / 0.6856 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.002151/0.8802, allocations: 0.9329 MB / 0.9046 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009056/0.8811, allocations: 217.3 kB / 0.9048 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.8916, allocations: 4.209 MB / 0.9089 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.8917, allocations: 28 kB / 0.909 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.8917, allocations: 0 / 0.909 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-05/0.8917, allocations: 15.89 kB / 0.909 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.9074, allocations: 7.86 MB / 0.9166 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.9075, allocations: 4 kB / 0.9166 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003241/0.9107, allocations: 0.5747 MB / 0.9172 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005545/0.9113, allocations: 80.78 kB / 0.9173 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000557/0.9119, allocations: 67.94 kB / 0.9174 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.914, allocations: 1.714 MB / 0.919 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.914, allocations: 0 / 0.919 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/0.9229, allocations: 3.476 MB / 0.9224 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/0.9248, allocations: 0.7396 MB / 0.9231 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008594/0.9257, allocations: 63.69 kB / 0.9232 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/0.9284, allocations: 275.6 kB / 0.9235 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.9288, allocations: 145.8 kB / 0.9236 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/0.929, allocations: 83.95 kB / 0.9237 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002566/0.9316, allocations: 1.515 MB / 0.9252 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9316, allocations: 0 / 0.9252 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002594/0.9342, allocations: 0.8644 MB / 0.926 GB, free: 4.391 MB / 0.7012 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.009757/0.944, allocations: 4.614 MB / 0.9305 GB, free: 12 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008615/0.9526, allocations: 3.537 MB / 0.934 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.9527, allocations: 4 kB / 0.934 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004021/0.9567, allocations: 1.802 MB / 0.9357 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.9597, allocations: 436.5 kB / 0.9361 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05306/1.013, allocations: 24.18 MB / 0.9598 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/1.015, allocations: 2.273 MB / 0.962 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003515/1.019, allocations: 0.9368 MB / 0.9629 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002419/1.021, allocations: 1.261 MB / 0.9641 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of SimCode: time 7.11e-07/1.021, allocations: 3.938 kB / 0.9641 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.123, allocations: 61.73 MB / 1.024 GB, free: 144 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.97, allocations: 8.047 kB / 1.024 GB, free: 136 kB / 0.795 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)