Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.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.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary",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.0009072/0.0009072, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007242/0.007242, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8921/0.8921, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 12.28 kB / 0.5077 GB, free: 4.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 82.31 MB / 0.5881 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.4368/0.5699, allocations: 248.7 MB / 0.8309 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.5925, allocations: 20.54 MB / 0.851 GB, free: 14.97 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.5949, allocations: 79.31 kB / 0.8511 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.5972, allocations: 0.6559 MB / 0.8517 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007186/0.6044, allocations: 2.727 MB / 0.8544 GB, free: 11.5 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005856/0.6102, allocations: 2.512 MB / 0.8568 GB, free: 8.996 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00557/0.6158, allocations: 5.058 MB / 0.8618 GB, free: 3.926 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.6175, allocations: 1.057 MB / 0.8628 GB, free: 2.84 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.6199, allocations: 1.237 MB / 0.864 GB, free: 1.602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.6215, allocations: 1.046 MB / 0.865 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.6216, allocations: 52 kB / 0.8651 GB, free: 0.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3023/0.9239, allocations: 5.055 MB / 0.87 GB, free: 7.727 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.9245, allocations: 0.5942 MB / 0.8706 GB, free: 7.727 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009005/0.9254, allocations: 0.9227 MB / 0.8715 GB, free: 7.695 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004162/0.9295, allocations: 4.449 MB / 0.8758 GB, free: 7.605 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.9296, allocations: 0 / 0.8758 GB, free: 7.605 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9296, allocations: 3.844 kB / 0.8758 GB, free: 7.605 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.9296, allocations: 0 / 0.8758 GB, free: 7.605 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.001906/0.9315, allocations: 1.915 MB / 0.8777 GB, free: 6.664 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.9315, allocations: 11.77 kB / 0.8777 GB, free: 6.664 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.9317, allocations: 185.9 kB / 0.8779 GB, free: 6.621 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.9333, allocations: 483.3 kB / 0.8784 GB, free: 6.512 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.9346, allocations: 1.265 MB / 0.8796 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.9347, allocations: 96.84 kB / 0.8797 GB, free: 6.074 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.9348, allocations: 120.1 kB / 0.8798 GB, free: 6.074 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.9366, allocations: 1.718 MB / 0.8815 GB, free: 5.699 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.9366, allocations: 10.31 kB / 0.8815 GB, free: 5.699 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.9367, allocations: 56.7 kB / 0.8815 GB, free: 5.699 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.9368, allocations: 60.03 kB / 0.8816 GB, free: 5.699 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.938, allocations: 1.219 MB / 0.8828 GB, free: 5.699 MB / 0.67 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.005029/0.9431, allocations: 7.565 MB / 0.8902 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.9437, allocations: 0.6641 MB / 0.8908 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.9442, allocations: 0.6213 MB / 0.8914 GB, free: 16.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.9455, allocations: 1.868 MB / 0.8932 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.9455, allocations: 55.48 kB / 0.8933 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 1.974e-06/0.9455, allocations: 0 / 0.8933 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.001936/0.9475, allocations: 1.394 MB / 0.8947 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.9476, allocations: 301.6 kB / 0.895 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.9497, allocations: 1.887 MB / 0.8968 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.9498, allocations: 38.14 kB / 0.8968 GB, free: 14 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/0.9503, allocations: 0.7258 MB / 0.8975 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.9504, allocations: 249 kB / 0.8978 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.9505, allocations: 52.06 kB / 0.8978 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9506, allocations: 328.9 kB / 0.8981 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.951, allocations: 333.8 kB / 0.8985 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.9516, allocations: 0.5592 MB / 0.899 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008847/0.9525, allocations: 0.8647 MB / 0.8998 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9525, allocations: 2.359 kB / 0.8999 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001161/0.9537, allocations: 1.014 MB / 0.9008 GB, free: 13 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9537, allocations: 5.906 kB / 0.9008 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.9537, allocations: 3.688 kB / 0.9009 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.9537, allocations: 10.78 kB / 0.9009 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.9541, allocations: 124.5 kB / 0.901 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.9542, allocations: 7.109 kB / 0.901 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.9548, allocations: 136.5 kB / 0.9011 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/0.9549, allocations: 45 kB / 0.9012 GB, free: 12.92 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005024/0.9554, allocations: 453.9 kB / 0.9016 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.9557, allocations: 195.8 kB / 0.9018 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.9571, allocations: 1.086 MB / 0.9028 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.9572, allocations: 12.11 kB / 0.9029 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.9572, allocations: 2.719 kB / 0.9029 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.9572, allocations: 7.953 kB / 0.9029 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008576/0.9658, allocations: 8.791 MB / 0.9114 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/0.9658, allocations: 14.94 kB / 0.9115 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.9662, allocations: 147.3 kB / 0.9116 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/0.9662, allocations: 19.56 kB / 0.9116 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.9663, allocations: 39.84 kB / 0.9117 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.196e-05/0.9663, allocations: 31.16 kB / 0.9117 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.548e-05/0.9663, allocations: 25.59 kB / 0.9117 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.9678, allocations: 1.667 MB / 0.9133 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.9683, allocations: 417.1 kB / 0.9137 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.9685, allocations: 38.33 kB / 0.9138 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.9691, allocations: 42.31 kB / 0.9138 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.9692, allocations: 106.7 kB / 0.9139 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.9693, allocations: 55.31 kB / 0.914 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001407/0.9707, allocations: 1.32 MB / 0.9153 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9707, allocations: 1.422 kB / 0.9153 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001433/0.9721, allocations: 0.5241 MB / 0.9158 GB, free: 8.547 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003564/0.9757, allocations: 3.02 MB / 0.9187 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009072/0.9766, allocations: 0.8189 MB / 0.9195 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.9766, allocations: 4.188 kB / 0.9195 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.9771, allocations: 483.2 kB / 0.92 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009501/0.9866, allocations: 1.282 MB / 0.9212 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/1.006, allocations: 16.06 MB / 0.9369 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/1.007, allocations: 1.4 MB / 0.9383 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001427/1.008, allocations: 482.6 kB / 0.9388 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/1.009, allocations: 0.6564 MB / 0.9394 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/1.009, allocations: 0 / 0.9394 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.306/2.314, allocations: 58.85 MB / 0.9969 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/2.315, allocations: 218.3 kB / 0.9971 GB, free: 372 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/5.293, allocations: 0 / 0.9971 GB, free: 372 kB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe 2>&1)