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.007312/0.007312, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001132/0.001132, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4037, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.6778/1.082, allocations: 253.3 MB / 0.9115 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02431/1.106, allocations: 20.6 MB / 0.9316 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/1.109, allocations: 74.28 kB / 0.9317 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/1.111, allocations: 0.8411 MB / 0.9325 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006906/1.118, allocations: 3.029 MB / 0.9355 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00627/1.124, allocations: 2.801 MB / 0.9382 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004775/1.129, allocations: 3.829 MB / 0.942 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/1.131, allocations: 1.304 MB / 0.9432 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/1.134, allocations: 1.454 MB / 0.9447 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/1.135, allocations: 0.9845 MB / 0.9456 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/1.135, allocations: 109.8 kB / 0.9457 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007679/1.143, allocations: 3.97 MB / 0.9496 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005961/1.143, allocations: 0.6494 MB / 0.9502 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/1.144, allocations: 0.9815 MB / 0.9512 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006666/1.151, allocations: 4.197 MB / 0.9553 GB, free: 48 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.151, allocations: 2.062 kB / 0.9553 GB, free: 48 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.615e-06/1.151, allocations: 0 / 0.9553 GB, free: 48 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.042e-05/1.151, allocations: 7.938 kB / 0.9553 GB, free: 40 kB / 0.6856 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.002985/1.154, allocations: 2.301 MB / 0.9575 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.154, allocations: 10.12 kB / 0.9576 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/1.154, allocations: 192.4 kB / 0.9577 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/1.156, allocations: 483.3 kB / 0.9582 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/1.158, allocations: 1.369 MB / 0.9595 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/1.158, allocations: 97.45 kB / 0.9596 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.158, allocations: 131.4 kB / 0.9598 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/1.16, allocations: 1.716 MB / 0.9614 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/1.16, allocations: 4.938 kB / 0.9614 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.16, allocations: 52.97 kB / 0.9615 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.887e-05/1.16, allocations: 65.02 kB / 0.9616 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/1.162, allocations: 1.222 MB / 0.9627 GB, free: 13.42 MB / 0.7012 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.006191/1.168, allocations: 7.517 MB / 0.9701 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/1.169, allocations: 0.6689 MB / 0.9707 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/1.17, allocations: 0.6137 MB / 0.9713 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.171, allocations: 1.87 MB / 0.9732 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.171, allocations: 59.64 kB / 0.9732 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 3.416e-06/1.171, allocations: 0 / 0.9732 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.002458/1.174, allocations: 1.391 MB / 0.9746 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.174, allocations: 300.2 kB / 0.9749 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/1.176, allocations: 1.888 MB / 0.9767 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/1.176, allocations: 42.55 kB / 0.9768 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/1.177, allocations: 0.7265 MB / 0.9775 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/1.177, allocations: 243.9 kB / 0.9777 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/1.177, allocations: 129.7 kB / 0.9778 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.177, allocations: 334 kB / 0.9781 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/1.177, allocations: 329 kB / 0.9784 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/1.178, allocations: 0.5591 MB / 0.979 GB, free: 300 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/1.179, allocations: 0.8677 MB / 0.9798 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.179, allocations: 0 / 0.9798 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001178/1.18, allocations: 1.013 MB / 0.9808 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.18, allocations: 7.531 kB / 0.9808 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.18, allocations: 7.438 kB / 0.9808 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.18, allocations: 5.469 kB / 0.9809 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/1.181, allocations: 127.2 kB / 0.981 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.181, allocations: 6.812 kB / 0.981 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/1.181, allocations: 132.8 kB / 0.9811 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/1.181, allocations: 42.52 kB / 0.9811 GB, free: 15.17 MB / 0.7169 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.0005015/1.182, allocations: 459.9 kB / 0.9816 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/1.182, allocations: 195.6 kB / 0.9818 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/1.184, allocations: 1.079 MB / 0.9828 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/1.184, allocations: 15.98 kB / 0.9828 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.184, allocations: 0 / 0.9828 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.184, allocations: 10.52 kB / 0.9829 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009698/1.193, allocations: 8.753 MB / 0.9914 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.193, allocations: 16 kB / 0.9914 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/1.194, allocations: 144.7 kB / 0.9916 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/1.194, allocations: 20.75 kB / 0.9916 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/1.194, allocations: 39.98 kB / 0.9916 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.929e-05/1.194, allocations: 31.59 kB / 0.9916 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/1.194, allocations: 25.14 kB / 0.9917 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/1.196, allocations: 1.668 MB / 0.9933 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/1.196, allocations: 410.3 kB / 0.9937 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/1.196, allocations: 35.98 kB / 0.9937 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/1.197, allocations: 32 kB / 0.9937 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.197, allocations: 104.4 kB / 0.9938 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/1.197, allocations: 59.92 kB / 0.9939 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001548/1.199, allocations: 1.316 MB / 0.9952 GB, free: 460 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.199, allocations: 4 kB / 0.9952 GB, free: 456 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001687/1.2, allocations: 0.5192 MB / 0.9957 GB, free: 15.92 MB / 0.7325 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.003759/1.204, allocations: 2.984 MB / 0.9986 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00114/1.205, allocations: 0.8616 MB / 0.9995 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.205, allocations: 0 / 0.9995 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/1.206, allocations: 489.9 kB / 0.9999 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005046/1.211, allocations: 1.345 MB / 1.001 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/1.227, allocations: 13.85 MB / 1.015 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000939/1.228, allocations: 1.41 MB / 1.016 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001435/1.23, allocations: 486.6 kB / 1.017 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/1.23, allocations: 0.6579 MB / 1.017 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/1.23, allocations: 0 / 1.017 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09455/1.325, allocations: 60.06 MB / 1.076 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.57, allocations: 6.438 kB / 1.076 GB, free: 13.73 MB / 0.8106 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)