Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_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.0007638/0.0007639, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001056/0.001056, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7814/0.7814, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 11.98 kB / 0.5035 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4233, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.2399/0.6632, allocations: 232.3 MB / 0.81 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.376/1.039, allocations: 19.4 MB / 0.829 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/1.042, allocations: 76.16 kB / 0.829 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/1.044, allocations: 0.5747 MB / 0.8296 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006186/1.05, allocations: 2.245 MB / 0.8318 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006091/1.056, allocations: 1.881 MB / 0.8336 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005966/1.062, allocations: 4.33 MB / 0.8379 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/1.064, allocations: 0.8912 MB / 0.8387 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/1.067, allocations: 1.245 MB / 0.8399 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/1.069, allocations: 1.002 MB / 0.8409 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003411/1.07, allocations: 50.41 kB / 0.841 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008497/1.078, allocations: 3.271 MB / 0.8442 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007165/1.079, allocations: 0.6084 MB / 0.8448 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008199/1.08, allocations: 419.4 kB / 0.8452 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00396/1.084, allocations: 2.971 MB / 0.8481 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.084, allocations: 0 / 0.8481 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.825e-06/1.084, allocations: 6.938 kB / 0.8481 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.37e-05/1.084, allocations: 0 / 0.8481 GB, free: 8.41 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002911/1.087, allocations: 1.927 MB / 0.85 GB, free: 23.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.087, allocations: 8.719 kB / 0.85 GB, free: 23.29 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/1.087, allocations: 194.6 kB / 0.8501 GB, free: 23.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/1.089, allocations: 483.9 kB / 0.8506 GB, free: 23.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.09, allocations: 1.208 MB / 0.8518 GB, free: 22.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/1.091, allocations: 96.84 kB / 0.8519 GB, free: 22.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/1.091, allocations: 120.7 kB / 0.852 GB, free: 22.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/1.093, allocations: 1.71 MB / 0.8537 GB, free: 22.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/1.093, allocations: 2.906 kB / 0.8537 GB, free: 22.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/1.093, allocations: 60.08 kB / 0.8537 GB, free: 22.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.593e-05/1.093, allocations: 65.09 kB / 0.8538 GB, free: 22.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/1.095, allocations: 1.211 MB / 0.855 GB, free: 22.37 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.006335/1.101, allocations: 7.57 MB / 0.8624 GB, free: 17.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/1.102, allocations: 0.655 MB / 0.863 GB, free: 17.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/1.102, allocations: 0.6237 MB / 0.8636 GB, free: 17.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/1.104, allocations: 1.866 MB / 0.8654 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.104, allocations: 49.64 kB / 0.8655 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.525e-06/1.104, allocations: 0 / 0.8655 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.002068/1.106, allocations: 1.379 MB / 0.8668 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.106, allocations: 298.8 kB / 0.8671 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/1.108, allocations: 1.873 MB / 0.8689 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/1.108, allocations: 42.8 kB / 0.869 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/1.109, allocations: 0.7295 MB / 0.8697 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/1.109, allocations: 249.7 kB / 0.8699 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/1.109, allocations: 17.69 kB / 0.8699 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.109, allocations: 330.7 kB / 0.8703 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/1.11, allocations: 321.4 kB / 0.8706 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/1.11, allocations: 0.559 MB / 0.8711 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/1.11, allocations: 406 kB / 0.8715 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.111, allocations: 4 kB / 0.8715 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001158/1.112, allocations: 1.009 MB / 0.8725 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.112, allocations: 6.094 kB / 0.8725 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.112, allocations: 5.281 kB / 0.8725 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.112, allocations: 6.125 kB / 0.8725 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/1.112, allocations: 125.1 kB / 0.8726 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.112, allocations: 9.844 kB / 0.8726 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/1.113, allocations: 143.1 kB / 0.8728 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/1.113, allocations: 40.88 kB / 0.8728 GB, free: 13.7 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005771/1.114, allocations: 459.2 kB / 0.8733 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/1.114, allocations: 189.7 kB / 0.8734 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/1.115, allocations: 1.086 MB / 0.8745 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/1.115, allocations: 12.33 kB / 0.8745 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.115, allocations: 3.312 kB / 0.8745 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/1.115, allocations: 7.891 kB / 0.8745 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/1.126, allocations: 8.784 MB / 0.8831 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.126, allocations: 16.59 kB / 0.8831 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/1.126, allocations: 142.1 kB / 0.8832 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/1.126, allocations: 20.75 kB / 0.8833 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/1.126, allocations: 37.83 kB / 0.8833 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/1.126, allocations: 38.73 kB / 0.8833 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/1.126, allocations: 25.5 kB / 0.8834 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/1.128, allocations: 1.663 MB / 0.885 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006922/1.129, allocations: 413.8 kB / 0.8854 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/1.129, allocations: 33.92 kB / 0.8854 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/1.13, allocations: 46.95 kB / 0.8855 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.13, allocations: 102.2 kB / 0.8856 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/1.13, allocations: 58.92 kB / 0.8856 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001788/1.132, allocations: 1.296 MB / 0.8869 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.132, allocations: 0 / 0.8869 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001997/1.134, allocations: 0.5275 MB / 0.8874 GB, free: 9.301 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003857/1.137, allocations: 2.834 MB / 0.8902 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00137/1.139, allocations: 0.8165 MB / 0.891 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.139, allocations: 3.375 kB / 0.891 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004896/1.139, allocations: 486 kB / 0.8914 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005079/1.144, allocations: 1.26 MB / 0.8927 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.161, allocations: 11.37 MB / 0.9038 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.162, allocations: 1.408 MB / 0.9051 GB, free: 196 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001745/1.164, allocations: 490.2 kB / 0.9056 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/1.164, allocations: 0.6593 MB / 0.9062 GB, free: 15.91 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/1.164, allocations: 0 / 0.9062 GB, free: 15.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09218/1.257, allocations: 58.76 MB / 0.9636 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.257, allocations: 209 kB / 0.9638 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/4.297, allocations: 6.469 kB / 0.9638 GB, free: 7.469 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_Boundary.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe 2>&1) Environment - environmentSimulation: