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.001742/0.001743, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001973/0.001973, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.675/1.675, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.364/1.364, allocations: 135.1 MB / 425.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 65.06 kB / 0.505 GB, free: 5.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.204, allocations: 80.92 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.6256/0.8297, allocations: 251.2 MB / 0.8293 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02773/0.8575, allocations: 20.58 MB / 0.8494 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.8601, allocations: 83.31 kB / 0.8495 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.8627, allocations: 0.6911 MB / 0.8502 GB, free: 12.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00781/0.8705, allocations: 2.743 MB / 0.8529 GB, free: 9.43 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006106/0.8767, allocations: 2.562 MB / 0.8554 GB, free: 6.879 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004767/0.8814, allocations: 3.838 MB / 0.8591 GB, free: 3.031 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.8834, allocations: 1.232 MB / 0.8603 GB, free: 1.781 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.8863, allocations: 1.445 MB / 0.8617 GB, free: 348 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3676/1.254, allocations: 1.068 MB / 0.8628 GB, free: 6.691 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003596/1.254, allocations: 110.5 kB / 0.8629 GB, free: 6.691 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009108/1.263, allocations: 4.781 MB / 0.8676 GB, free: 6.688 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/1.265, allocations: 0.6443 MB / 0.8682 GB, free: 6.688 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/1.267, allocations: 0.9851 MB / 0.8691 GB, free: 6.688 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/1.278, allocations: 4.577 MB / 0.8736 GB, free: 6.602 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/1.278, allocations: 0.8125 kB / 0.8736 GB, free: 6.602 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.374e-06/1.279, allocations: 0 / 0.8736 GB, free: 6.602 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001051/1.279, allocations: 1 kB / 0.8736 GB, free: 6.602 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.006303/1.285, allocations: 2.305 MB / 0.8759 GB, free: 5.488 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/1.285, allocations: 9.875 kB / 0.8759 GB, free: 5.488 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/1.285, allocations: 189.6 kB / 0.8761 GB, free: 5.445 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003825/1.289, allocations: 485.3 kB / 0.8765 GB, free: 5.336 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/1.293, allocations: 1.266 MB / 0.8778 GB, free: 4.898 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/1.293, allocations: 97.38 kB / 0.8778 GB, free: 4.895 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/1.293, allocations: 124.3 kB / 0.878 GB, free: 4.895 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/1.297, allocations: 1.719 MB / 0.8796 GB, free: 4.527 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/1.297, allocations: 5.281 kB / 0.8797 GB, free: 4.527 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/1.297, allocations: 55.72 kB / 0.8797 GB, free: 4.527 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/1.297, allocations: 64.45 kB / 0.8798 GB, free: 4.527 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/1.3, allocations: 1.218 MB / 0.881 GB, free: 4.527 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.01461/1.315, allocations: 7.564 MB / 0.8883 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/1.317, allocations: 0.6611 MB / 0.889 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/1.318, allocations: 0.6226 MB / 0.8896 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002846/1.321, allocations: 1.867 MB / 0.8914 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.133e-05/1.321, allocations: 52.16 kB / 0.8915 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 6.602e-06/1.321, allocations: 0.9688 kB / 0.8915 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.004744/1.326, allocations: 1.398 MB / 0.8928 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/1.326, allocations: 296.9 kB / 0.8931 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00576/1.332, allocations: 1.889 MB / 0.895 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/1.332, allocations: 41.42 kB / 0.895 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/1.333, allocations: 0.7303 MB / 0.8957 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/1.334, allocations: 246 kB / 0.896 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004516/1.334, allocations: 130.4 kB / 0.8961 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.335, allocations: 330.4 kB / 0.8964 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/1.335, allocations: 329.5 kB / 0.8967 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/1.337, allocations: 0.5627 MB / 0.8973 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/1.339, allocations: 0.8622 MB / 0.8981 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.339, allocations: 1.25 kB / 0.8981 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00316/1.342, allocations: 1.016 MB / 0.8991 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.342, allocations: 8.031 kB / 0.8991 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/1.342, allocations: 8.703 kB / 0.8991 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/1.342, allocations: 10.62 kB / 0.8991 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/1.343, allocations: 120.3 kB / 0.8992 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/1.343, allocations: 14.05 kB / 0.8992 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/1.345, allocations: 138.1 kB / 0.8994 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/1.345, allocations: 45.06 kB / 0.8994 GB, free: 11.8 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.001369/1.347, allocations: 452.3 kB / 0.8998 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009817/1.348, allocations: 192.3 kB / 0.9 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/1.352, allocations: 1.086 MB / 0.9011 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-05/1.352, allocations: 16.36 kB / 0.9011 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.352, allocations: 3.625 kB / 0.9011 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/1.352, allocations: 9.422 kB / 0.9011 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/1.378, allocations: 8.94 MB / 0.9099 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.889e-05/1.378, allocations: 15.31 kB / 0.9099 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009026/1.379, allocations: 141.9 kB / 0.91 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.192e-05/1.379, allocations: 20.25 kB / 0.91 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/1.379, allocations: 40.72 kB / 0.9101 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.641e-05/1.379, allocations: 28.67 kB / 0.9101 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.311e-05/1.379, allocations: 29.94 kB / 0.9101 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/1.383, allocations: 1.664 MB / 0.9117 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.384, allocations: 420.8 kB / 0.9121 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000708/1.385, allocations: 32.19 kB / 0.9122 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.387, allocations: 38.31 kB / 0.9122 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/1.387, allocations: 104.4 kB / 0.9123 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.387, allocations: 56 kB / 0.9124 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003418/1.391, allocations: 1.322 MB / 0.9137 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.02e-07/1.391, allocations: 0.8438 kB / 0.9137 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003539/1.394, allocations: 0.5257 MB / 0.9142 GB, free: 7.477 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.008817/1.403, allocations: 3.015 MB / 0.9171 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002324/1.406, allocations: 0.8658 MB / 0.918 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.149e-05/1.406, allocations: 3.5 kB / 0.918 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/1.407, allocations: 483.9 kB / 0.9184 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01291/1.42, allocations: 1.349 MB / 0.9197 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03042/1.45, allocations: 16.04 MB / 0.9354 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/1.452, allocations: 1.4 MB / 0.9368 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001783/1.453, allocations: 488.7 kB / 0.9372 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/1.454, allocations: 0.6559 MB / 0.9379 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of SimCode: time 9.52e-07/1.454, allocations: 0 / 0.9379 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7523/2.207, allocations: 60.55 MB / 0.997 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/2.207, allocations: 228.8 kB / 0.9972 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.028/8.235, allocations: 0 / 0.9972 GB, free: 9.812 MB / 0.7481 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)