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.001046/0.001046, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8917/0.8917, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 64.34 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1427, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.5583/0.701, allocations: 253.3 MB / 0.8318 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02785/0.7289, allocations: 20.58 MB / 0.8519 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.7313, allocations: 83.38 kB / 0.852 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.7341, allocations: 0.8299 MB / 0.8528 GB, free: 9.613 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008189/0.7424, allocations: 2.912 MB / 0.8557 GB, free: 6.688 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006663/0.749, allocations: 2.735 MB / 0.8583 GB, free: 3.965 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004807/0.7539, allocations: 3.826 MB / 0.8621 GB, free: 132 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3828/1.137, allocations: 1.285 MB / 0.8633 GB, free: 4.758 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/1.139, allocations: 1.429 MB / 0.8647 GB, free: 4.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/1.141, allocations: 0.9766 MB / 0.8657 GB, free: 4.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/1.141, allocations: 110 kB / 0.8658 GB, free: 4.75 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007519/1.148, allocations: 4.183 MB / 0.8699 GB, free: 4.746 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007978/1.149, allocations: 0.6447 MB / 0.8705 GB, free: 4.746 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/1.15, allocations: 0.982 MB / 0.8715 GB, free: 4.746 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007847/1.158, allocations: 4.246 MB / 0.8756 GB, free: 4.66 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/1.158, allocations: 0.9375 kB / 0.8756 GB, free: 4.66 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.903e-06/1.158, allocations: 0 / 0.8756 GB, free: 4.66 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.304e-05/1.158, allocations: 2.562 kB / 0.8756 GB, free: 4.66 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.003692/1.162, allocations: 2.309 MB / 0.8779 GB, free: 19.55 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.162, allocations: 12.62 kB / 0.8779 GB, free: 19.55 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001968/1.162, allocations: 187.6 kB / 0.878 GB, free: 19.51 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/1.164, allocations: 487 kB / 0.8785 GB, free: 19.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/1.166, allocations: 1.253 MB / 0.8797 GB, free: 18.97 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/1.166, allocations: 98.2 kB / 0.8798 GB, free: 18.97 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/1.166, allocations: 128.3 kB / 0.88 GB, free: 18.97 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/1.168, allocations: 1.721 MB / 0.8816 GB, free: 18.6 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/1.168, allocations: 6.156 kB / 0.8816 GB, free: 18.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/1.169, allocations: 50.08 kB / 0.8817 GB, free: 18.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.711e-05/1.169, allocations: 63.8 kB / 0.8817 GB, free: 18.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/1.17, allocations: 1.223 MB / 0.8829 GB, free: 18.6 MB / 0.6856 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.007133/1.177, allocations: 7.58 MB / 0.8903 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/1.178, allocations: 0.6632 MB / 0.891 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/1.179, allocations: 0.6156 MB / 0.8916 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/1.181, allocations: 1.866 MB / 0.8934 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.181, allocations: 52.75 kB / 0.8935 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/1.181, allocations: 5.406 kB / 0.8935 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.002531/1.183, allocations: 1.395 MB / 0.8948 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.183, allocations: 298.9 kB / 0.8951 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/1.186, allocations: 1.89 MB / 0.897 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/1.186, allocations: 38.7 kB / 0.897 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/1.187, allocations: 0.7322 MB / 0.8977 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/1.187, allocations: 244 kB / 0.8979 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/1.187, allocations: 133.3 kB / 0.8981 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.187, allocations: 331.2 kB / 0.8984 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/1.187, allocations: 329.7 kB / 0.8987 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/1.188, allocations: 0.5651 MB / 0.8993 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/1.189, allocations: 0.8555 MB / 0.9001 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.189, allocations: 2.188 kB / 0.9001 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001542/1.191, allocations: 1.014 MB / 0.9011 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.191, allocations: 7.75 kB / 0.9011 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.191, allocations: 3.625 kB / 0.9011 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/1.191, allocations: 11.31 kB / 0.9011 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/1.191, allocations: 123.2 kB / 0.9012 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.191, allocations: 7.922 kB / 0.9012 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/1.192, allocations: 129.3 kB / 0.9014 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.192, allocations: 47.12 kB / 0.9014 GB, free: 9.852 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.0007118/1.193, allocations: 451.2 kB / 0.9018 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/1.193, allocations: 192.3 kB / 0.902 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/1.195, allocations: 1.094 MB / 0.9031 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.195, allocations: 11.56 kB / 0.9031 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.195, allocations: 5.859 kB / 0.9031 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.195, allocations: 5.016 kB / 0.9031 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.207, allocations: 8.934 MB / 0.9118 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/1.208, allocations: 14.59 kB / 0.9118 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/1.208, allocations: 142.6 kB / 0.912 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/1.208, allocations: 20.06 kB / 0.912 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/1.208, allocations: 45.47 kB / 0.912 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-05/1.208, allocations: 29.69 kB / 0.9121 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-05/1.208, allocations: 25.38 kB / 0.9121 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/1.21, allocations: 1.668 MB / 0.9137 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008898/1.211, allocations: 415.4 kB / 0.9141 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/1.212, allocations: 37.19 kB / 0.9142 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/1.212, allocations: 28.56 kB / 0.9142 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.212, allocations: 108.6 kB / 0.9143 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/1.212, allocations: 49.73 kB / 0.9143 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001786/1.214, allocations: 1.32 MB / 0.9156 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/1.214, allocations: 0 / 0.9156 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001947/1.216, allocations: 0.528 MB / 0.9161 GB, free: 5.531 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.004346/1.221, allocations: 3.025 MB / 0.9191 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001268/1.222, allocations: 0.8563 MB / 0.9199 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.222, allocations: 3.891 kB / 0.9199 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005356/1.222, allocations: 490.6 kB / 0.9204 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005868/1.228, allocations: 1.35 MB / 0.9217 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.246, allocations: 15.62 MB / 0.937 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.247, allocations: 1.409 MB / 0.9383 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001684/1.249, allocations: 489 kB / 0.9388 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006232/1.25, allocations: 0.6561 MB / 0.9394 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of SimCode: time 9.42e-07/1.25, allocations: 0 / 0.9394 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/1.364, allocations: 60.85 MB / 0.9989 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.49, allocations: 10.23 kB / 0.9989 GB, free: 6.363 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)