Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.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.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",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.005389/0.005389, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001228/0.001228, allocations: 194.7 kB / 16.68 MB, free: 5.969 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: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8049/0.8049, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 71.52 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1345, allocations: 80.2 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5239/0.6585, allocations: 214.1 MB / 0.8682 GB, free: 60 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.6746, allocations: 12.15 MB / 0.8801 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.676, allocations: 47.69 kB / 0.8801 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.6775, allocations: 0.508 MB / 0.8806 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004865/0.6824, allocations: 1.873 MB / 0.8825 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004637/0.687, allocations: 1.908 MB / 0.8843 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003106/0.6901, allocations: 2.348 MB / 0.8866 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.692, allocations: 1.234 MB / 0.8878 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.6935, allocations: 0.8327 MB / 0.8886 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.6947, allocations: 0.6573 MB / 0.8893 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.6949, allocations: 92 kB / 0.8894 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/0.7003, allocations: 2.696 MB / 0.892 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006393/0.701, allocations: 0.5376 MB / 0.8925 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.7021, allocations: 0.7386 MB / 0.8933 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005048/0.7072, allocations: 3.154 MB / 0.8963 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7072, allocations: 0 / 0.8963 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7072, allocations: 0 / 0.8963 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.49e-05/0.7072, allocations: 0 / 0.8963 GB, free: 3.199 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002949/0.7102, allocations: 1.8 MB / 0.8981 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.7102, allocations: 8.031 kB / 0.8981 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/0.7105, allocations: 172.7 kB / 0.8983 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.7122, allocations: 386.6 kB / 0.8986 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.7138, allocations: 0.9744 MB / 0.8996 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.7139, allocations: 74.06 kB / 0.8997 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.7141, allocations: 104 kB / 0.8998 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.7164, allocations: 1.526 MB / 0.9012 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.7164, allocations: 7.938 kB / 0.9012 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.7165, allocations: 51.98 kB / 0.9013 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.46e-05/0.7166, allocations: 61.53 kB / 0.9014 GB, free: 13.83 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.7182, allocations: 1.021 MB / 0.9024 GB, free: 12.81 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.006404/0.7246, allocations: 5.865 MB / 0.9081 GB, free: 6.629 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.7252, allocations: 317 kB / 0.9084 GB, free: 6.285 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.7255, allocations: 247.6 kB / 0.9086 GB, free: 6.031 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.7263, allocations: 0.7117 MB / 0.9093 GB, free: 5.172 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.7263, allocations: 38.56 kB / 0.9094 GB, free: 5.125 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.7263, allocations: 0 / 0.9094 GB, free: 5.125 MB / 0.67 GB Notification: Performance of matching and sorting (n=28): time 0.001329/0.7277, allocations: 0.6798 MB / 0.91 GB, free: 4.438 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.7278, allocations: 136.6 kB / 0.9101 GB, free: 4.273 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.73, allocations: 1.686 MB / 0.9118 GB, free: 2.578 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.7301, allocations: 29.7 kB / 0.9118 GB, free: 2.543 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/0.7306, allocations: 0.5584 MB / 0.9124 GB, free: 1.98 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.044e-05/0.7307, allocations: 103.1 kB / 0.9125 GB, free: 1.879 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.7308, allocations: 65.7 kB / 0.9125 GB, free: 1.809 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.731, allocations: 318 kB / 0.9128 GB, free: 1.492 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.7312, allocations: 151.9 kB / 0.913 GB, free: 1.344 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.7315, allocations: 284.8 kB / 0.9132 GB, free: 1.035 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.7321, allocations: 401 kB / 0.9136 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7321, allocations: 0 / 0.9136 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007999/0.7329, allocations: 0.5536 MB / 0.9142 GB, free: 56 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7329, allocations: 8 kB / 0.9142 GB, free: 48 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7329, allocations: 4 kB / 0.9142 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.733, allocations: 11.88 kB / 0.9142 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.7332, allocations: 51.97 kB / 0.9142 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.7332, allocations: 3.938 kB / 0.9142 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.7337, allocations: 115.1 kB / 0.9144 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.7338, allocations: 31.92 kB / 0.9144 GB, free: 15.83 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004544/0.7342, allocations: 373.6 kB / 0.9147 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.7345, allocations: 151 kB / 0.9149 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.7351, allocations: 382.3 kB / 0.9153 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.7351, allocations: 3.938 kB / 0.9153 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7351, allocations: 4 kB / 0.9153 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7351, allocations: 0 / 0.9153 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.7386, allocations: 2.521 MB / 0.9177 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.7386, allocations: 4 kB / 0.9177 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.7388, allocations: 55.86 kB / 0.9178 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.7388, allocations: 8 kB / 0.9178 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.7388, allocations: 12 kB / 0.9178 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.7389, allocations: 16.86 kB / 0.9178 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7389, allocations: 8.469 kB / 0.9178 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.7396, allocations: 0.6347 MB / 0.9184 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.7401, allocations: 304 kB / 0.9187 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.7403, allocations: 16 kB / 0.9187 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.7407, allocations: 8 kB / 0.9188 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.7407, allocations: 35.84 kB / 0.9188 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.7408, allocations: 19.94 kB / 0.9188 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001568/0.7423, allocations: 1.231 MB / 0.92 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.004e-06/0.7423, allocations: 0 / 0.92 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008809/0.7432, allocations: 327.4 kB / 0.9203 GB, free: 9.426 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.002273/0.7455, allocations: 1.664 MB / 0.9219 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.7461, allocations: 363.6 kB / 0.9223 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7461, allocations: 4 kB / 0.9223 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.7463, allocations: 153.2 kB / 0.9224 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/0.75, allocations: 0.93 MB / 0.9234 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.7634, allocations: 10.51 MB / 0.9336 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/0.7643, allocations: 1.216 MB / 0.9348 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008328/0.7651, allocations: 294.7 kB / 0.9351 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.7657, allocations: 463.3 kB / 0.9355 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of SimCode: time 3.81e-07/0.7657, allocations: 0 / 0.9355 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3757/1.141, allocations: 44.02 MB / 0.9785 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.81, allocations: 7.969 kB / 0.9785 GB, free: 13.69 MB / 0.7481 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)