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.004659/0.004658, allocations: 99.84 kB / 15.73 MB, free: 6.496 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.001429/0.001429, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8879/0.8879, allocations: 135.5 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 71.89 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3137, allocations: 81.02 MB / 0.6648 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.006248/0.32, allocations: 6.954 MB / 0.6716 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1621/0.482, allocations: 155.7 MB / 0.8237 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.4828, allocations: 31.88 kB / 0.8237 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.4835, allocations: 293.2 kB / 0.824 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.4852, allocations: 0.7168 MB / 0.8247 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.4874, allocations: 1.276 MB / 0.826 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004103/0.4916, allocations: 4.567 MB / 0.8304 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/0.4948, allocations: 2.868 MB / 0.8332 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.4973, allocations: 1.728 MB / 0.8349 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.4991, allocations: 1.778 MB / 0.8366 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005757/0.4997, allocations: 472 kB / 0.8371 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.5014, allocations: 1.069 MB / 0.8381 GB, free: 14.87 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000832/0.5023, allocations: 0.9815 MB / 0.8391 GB, free: 13.88 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.504, allocations: 1.882 MB / 0.8409 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005566/0.5096, allocations: 5.544 MB / 0.8463 GB, free: 6.43 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5096, allocations: 0 / 0.8463 GB, free: 6.43 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5096, allocations: 0 / 0.8463 GB, free: 6.43 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.185e-05/0.5097, allocations: 0 / 0.8463 GB, free: 6.43 MB / 0.67 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.006893/0.5166, allocations: 3.977 MB / 0.8502 GB, free: 2.379 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5166, allocations: 8.031 kB / 0.8502 GB, free: 2.371 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000511/0.5171, allocations: 421.6 kB / 0.8506 GB, free: 1.949 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008802/0.5259, allocations: 1.297 MB / 0.8519 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.529, allocations: 2.145 MB / 0.854 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.5292, allocations: 234 kB / 0.8542 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/0.5297, allocations: 292 kB / 0.8545 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008249/0.538, allocations: 4.46 MB / 0.8589 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.538, allocations: 3.938 kB / 0.8589 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/0.5383, allocations: 124 kB / 0.859 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.5384, allocations: 72 kB / 0.859 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.5489, allocations: 4.882 MB / 0.8638 GB, free: 4.273 MB / 0.6856 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.2759/0.8248, allocations: 14.04 MB / 0.8775 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009781/0.8346, allocations: 4.043 MB / 0.8815 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003218/0.8379, allocations: 1.667 MB / 0.8831 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008063/0.8387, allocations: 1.075 MB / 0.8842 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003629/0.8423, allocations: 2.032 MB / 0.8861 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 3.417e-06/0.8423, allocations: 0 / 0.8861 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01171/0.8541, allocations: 5.236 MB / 0.8913 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.8541, allocations: 210.9 kB / 0.8915 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.8565, allocations: 1.931 MB / 0.8933 GB, free: 171.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.8567, allocations: 62.98 kB / 0.8934 GB, free: 171.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007583/0.8575, allocations: 1.212 MB / 0.8946 GB, free: 170.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.8579, allocations: 0.748 MB / 0.8953 GB, free: 170.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007513/0.8587, allocations: 0.5042 MB / 0.8958 GB, free: 170 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.1e-05/0.8587, allocations: 306.2 kB / 0.8961 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003278/0.862, allocations: 1.554 MB / 0.8976 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/0.8655, allocations: 1.866 MB / 0.8994 GB, free: 167.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006619/0.8721, allocations: 3.389 MB / 0.9027 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.8721, allocations: 1.594 kB / 0.9027 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008298/0.8804, allocations: 3.913 MB / 0.9066 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.8804, allocations: 13.39 kB / 0.9066 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8805, allocations: 3.844 kB / 0.9066 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005579/0.881, allocations: 102.8 kB / 0.9067 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/0.884, allocations: 0.686 MB / 0.9074 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.8856, allocations: 1.695 MB / 0.909 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.8884, allocations: 439.4 kB / 0.9094 GB, free: 161.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.8886, allocations: 121 kB / 0.9095 GB, free: 161.5 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.00136/0.89, allocations: 0.9233 MB / 0.9104 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.8903, allocations: 229.1 kB / 0.9107 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008222/0.8986, allocations: 4.211 MB / 0.9148 GB, free: 158.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.8986, allocations: 24 kB / 0.9148 GB, free: 158.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8986, allocations: 0 / 0.9148 GB, free: 158.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.8986, allocations: 11.95 kB / 0.9148 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.9092, allocations: 7.851 MB / 0.9225 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.9092, allocations: 0 / 0.9225 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002498/0.9118, allocations: 0.5811 MB / 0.923 GB, free: 149.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/0.9122, allocations: 80.77 kB / 0.9231 GB, free: 149.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.9123, allocations: 67.94 kB / 0.9232 GB, free: 149.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.9137, allocations: 1.723 MB / 0.9249 GB, free: 147.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.9138, allocations: 4.062 kB / 0.9249 GB, free: 147.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006411/0.9202, allocations: 3.47 MB / 0.9283 GB, free: 144.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008983/0.9211, allocations: 0.7502 MB / 0.929 GB, free: 143.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/0.9214, allocations: 67.17 kB / 0.9291 GB, free: 143.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/0.9236, allocations: 273.3 kB / 0.9293 GB, free: 143.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.9238, allocations: 145.8 kB / 0.9295 GB, free: 143.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/0.924, allocations: 83.94 kB / 0.9295 GB, free: 143 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001483/0.9255, allocations: 1.486 MB / 0.931 GB, free: 141.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9255, allocations: 0 / 0.931 GB, free: 141.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001649/0.9271, allocations: 0.876 MB / 0.9318 GB, free: 140.7 MB / 0.6856 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.008281/0.9354, allocations: 4.62 MB / 0.9364 GB, free: 136.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006584/0.942, allocations: 3.553 MB / 0.9398 GB, free: 132.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.942, allocations: 0 / 0.9398 GB, free: 132.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/0.9451, allocations: 1.786 MB / 0.9416 GB, free: 130.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.9468, allocations: 450.8 kB / 0.942 GB, free: 130.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03458/0.9814, allocations: 24.09 MB / 0.9655 GB, free: 106 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.9826, allocations: 2.254 MB / 0.9677 GB, free: 103.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0024/0.985, allocations: 0.9184 MB / 0.9686 GB, free: 102.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/0.9867, allocations: 1.245 MB / 0.9698 GB, free: 101.6 MB / 0.6856 GB Notification: Performance of SimCode: time 5.31e-07/0.9867, allocations: 4 kB / 0.9698 GB, free: 101.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3315/1.318, allocations: 60.18 MB / 1.029 GB, free: 41.69 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/17.99, allocations: 12.67 kB / 1.029 GB, free: 41.68 MB / 0.6856 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)