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.007574/0.007575, allocations: 103.3 kB / 15.73 MB, free: 5.996 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.001811/0.001811, allocations: 187.6 kB / 16.67 MB, free: 5.926 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.38/1.38, 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-master/package.mo): time 0.7951/0.7951, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 71.19 kB / 0.5851 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1542, allocations: 80.93 MB / 0.6641 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.6397/0.7939, allocations: 253.3 MB / 0.9115 GB, free: 1.891 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02512/0.8191, allocations: 20.59 MB / 0.9316 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.8216, allocations: 75.5 kB / 0.9317 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.8244, allocations: 0.8337 MB / 0.9325 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007584/0.8321, allocations: 2.905 MB / 0.9353 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007033/0.8391, allocations: 2.761 MB / 0.938 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004978/0.8441, allocations: 3.823 MB / 0.9418 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.8462, allocations: 1.302 MB / 0.943 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.849, allocations: 1.444 MB / 0.9445 GB, free: 60 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.8506, allocations: 0.9837 MB / 0.9454 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.8509, allocations: 108 kB / 0.9455 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007662/0.8586, allocations: 3.954 MB / 0.9494 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007674/0.8594, allocations: 0.6426 MB / 0.95 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.861, allocations: 0.9795 MB / 0.951 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006825/0.8679, allocations: 4.203 MB / 0.9551 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8679, allocations: 4 kB / 0.9551 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8679, allocations: 0 / 0.9551 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001011/0.868, allocations: 0 / 0.9551 GB, free: 5.152 MB / 0.7169 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.004069/0.8721, allocations: 2.31 MB / 0.9573 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.8721, allocations: 9.109 kB / 0.9573 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002862/0.8724, allocations: 186 kB / 0.9575 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.8746, allocations: 492.9 kB / 0.958 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.8772, allocations: 1.38 MB / 0.9593 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.8773, allocations: 94.44 kB / 0.9594 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.8775, allocations: 128 kB / 0.9595 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.8799, allocations: 1.719 MB / 0.9612 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.88, allocations: 7.938 kB / 0.9612 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.961e-05/0.8801, allocations: 51.94 kB / 0.9613 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.267e-05/0.8802, allocations: 71.97 kB / 0.9613 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.8818, allocations: 1.218 MB / 0.9625 GB, free: 13.24 MB / 0.7325 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.007118/0.8889, allocations: 7.514 MB / 0.9699 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.8898, allocations: 0.6734 MB / 0.9705 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/0.8905, allocations: 0.6201 MB / 0.9711 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.892, allocations: 1.867 MB / 0.973 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.8921, allocations: 54.5 kB / 0.973 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/0.8921, allocations: 3.938 kB / 0.973 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002346/0.8945, allocations: 1.386 MB / 0.9744 GB, free: 192 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.8946, allocations: 302.7 kB / 0.9747 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.897, allocations: 1.892 MB / 0.9765 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.897, allocations: 41.7 kB / 0.9765 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/0.8977, allocations: 0.7213 MB / 0.9773 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.8979, allocations: 244.4 kB / 0.9775 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.8981, allocations: 138.2 kB / 0.9776 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.8982, allocations: 326 kB / 0.9779 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.8986, allocations: 337 kB / 0.9783 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.8992, allocations: 0.5586 MB / 0.9788 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.9002, allocations: 0.8579 MB / 0.9796 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.9002, allocations: 8 kB / 0.9796 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001415/0.9016, allocations: 1.01 MB / 0.9806 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.9016, allocations: 8 kB / 0.9806 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9017, allocations: 4 kB / 0.9806 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.9017, allocations: 4 kB / 0.9806 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.9021, allocations: 123.8 kB / 0.9808 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.9021, allocations: 4 kB / 0.9808 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/0.903, allocations: 134.5 kB / 0.9809 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.9031, allocations: 43.98 kB / 0.9809 GB, free: 9.223 MB / 0.7481 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.0006509/0.9038, allocations: 461.4 kB / 0.9814 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.9042, allocations: 189.7 kB / 0.9816 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.9059, allocations: 1.088 MB / 0.9826 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.906, allocations: 12.5 kB / 0.9826 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.906, allocations: 4 kB / 0.9826 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.906, allocations: 11.92 kB / 0.9826 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.9173, allocations: 8.752 MB / 0.9912 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.326e-05/0.9174, allocations: 16.97 kB / 0.9912 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.9179, allocations: 143.7 kB / 0.9913 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/0.9179, allocations: 23.94 kB / 0.9914 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.918, allocations: 40 kB / 0.9914 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.557e-05/0.918, allocations: 27.92 kB / 0.9914 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.152e-05/0.918, allocations: 28 kB / 0.9915 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.9199, allocations: 1.672 MB / 0.9931 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008226/0.9207, allocations: 426.3 kB / 0.9935 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.9211, allocations: 31.98 kB / 0.9935 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/0.9218, allocations: 28 kB / 0.9936 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.9219, allocations: 99.55 kB / 0.9937 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.922, allocations: 56 kB / 0.9937 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002011/0.9241, allocations: 1.324 MB / 0.995 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9241, allocations: 3.938 kB / 0.995 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002009/0.9261, allocations: 0.5074 MB / 0.9955 GB, free: 9.523 MB / 0.7637 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.004875/0.931, allocations: 2.998 MB / 0.9984 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.9322, allocations: 0.8482 MB / 0.9993 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.9322, allocations: 7.938 kB / 0.9993 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.9329, allocations: 487.2 kB / 0.9997 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/0.9387, allocations: 1.337 MB / 1.001 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/0.9577, allocations: 13.85 MB / 1.015 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.959, allocations: 1.406 MB / 1.016 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001502/0.9605, allocations: 486.5 kB / 1.016 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008568/0.9614, allocations: 0.6594 MB / 1.017 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of SimCode: time 7.62e-07/0.9614, allocations: 0 / 1.017 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4183/1.38, allocations: 60.76 MB / 1.076 GB, free: 320.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.83, allocations: 11.8 kB / 1.076 GB, free: 320.7 MB / 0.8262 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)