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.005859/0.005859, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.001237/0.001237, allocations: 200.2 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9263/0.9263, allocations: 135.5 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 63.89 kB / 0.5857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3501, allocations: 81.04 MB / 0.6649 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.6511/1.001, allocations: 253.3 MB / 0.9122 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02365/1.025, allocations: 20.6 MB / 0.9323 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/1.027, allocations: 75.72 kB / 0.9324 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/1.029, allocations: 0.8277 MB / 0.9332 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006058/1.035, allocations: 2.916 MB / 0.9361 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/1.041, allocations: 2.747 MB / 0.9388 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004535/1.045, allocations: 3.823 MB / 0.9425 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/1.047, allocations: 1.304 MB / 0.9438 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/1.049, allocations: 1.423 MB / 0.9451 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009387/1.05, allocations: 0.9841 MB / 0.9461 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/1.051, allocations: 109.3 kB / 0.9462 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007568/1.058, allocations: 3.954 MB / 0.9501 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000587/1.059, allocations: 0.6558 MB / 0.9507 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.06, allocations: 0.9736 MB / 0.9517 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/1.07, allocations: 4.214 MB / 0.9558 GB, free: 28 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/1.07, allocations: 4 kB / 0.9558 GB, free: 24 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.425e-06/1.07, allocations: 0 / 0.9558 GB, free: 24 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.784e-05/1.07, allocations: 0 / 0.9558 GB, free: 24 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.003806/1.074, allocations: 2.378 MB / 0.9581 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.074, allocations: 10.19 kB / 0.9581 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/1.074, allocations: 192.5 kB / 0.9583 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/1.076, allocations: 494.9 kB / 0.9588 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/1.078, allocations: 1.387 MB / 0.9601 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/1.078, allocations: 93.06 kB / 0.9602 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/1.079, allocations: 130.2 kB / 0.9603 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/1.081, allocations: 1.717 MB / 0.962 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/1.081, allocations: 9.859 kB / 0.962 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/1.081, allocations: 50.25 kB / 0.9621 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.621e-05/1.081, allocations: 65.72 kB / 0.9621 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/1.083, allocations: 1.221 MB / 0.9633 GB, free: 13.27 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.007878/1.091, allocations: 7.544 MB / 0.9707 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/1.092, allocations: 0.659 MB / 0.9713 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00069/1.092, allocations: 0.6231 MB / 0.9719 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/1.094, allocations: 1.872 MB / 0.9738 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/1.094, allocations: 65.7 kB / 0.9738 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/1.094, allocations: 0 / 0.9738 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.002332/1.096, allocations: 1.393 MB / 0.9752 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/1.097, allocations: 297.6 kB / 0.9755 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/1.099, allocations: 1.89 MB / 0.9773 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/1.099, allocations: 48.05 kB / 0.9774 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007047/1.1, allocations: 0.7366 MB / 0.9781 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/1.1, allocations: 255.3 kB / 0.9783 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/1.1, allocations: 132.3 kB / 0.9785 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.1, allocations: 329.2 kB / 0.9788 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/1.101, allocations: 329.4 kB / 0.9791 GB, free: 396 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/1.101, allocations: 0.5623 MB / 0.9796 GB, free: 40 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009933/1.102, allocations: 0.8553 MB / 0.9805 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.102, allocations: 4 kB / 0.9805 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001354/1.104, allocations: 1.028 MB / 0.9815 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.104, allocations: 7.25 kB / 0.9815 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.104, allocations: 4.938 kB / 0.9815 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.104, allocations: 4.969 kB / 0.9815 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/1.104, allocations: 126.4 kB / 0.9816 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.104, allocations: 8.094 kB / 0.9816 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007068/1.105, allocations: 132.4 kB / 0.9818 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/1.105, allocations: 46.73 kB / 0.9818 GB, free: 14.9 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.0005722/1.105, allocations: 450.6 kB / 0.9822 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/1.106, allocations: 209.3 kB / 0.9824 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/1.108, allocations: 1.078 MB / 0.9835 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/1.108, allocations: 15.98 kB / 0.9835 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.108, allocations: 8 kB / 0.9835 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.108, allocations: 7.984 kB / 0.9835 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/1.12, allocations: 8.754 MB / 0.9921 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/1.12, allocations: 16.94 kB / 0.9921 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/1.12, allocations: 140.7 kB / 0.9922 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-05/1.12, allocations: 20 kB / 0.9922 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/1.12, allocations: 44.11 kB / 0.9923 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.73e-05/1.12, allocations: 35.58 kB / 0.9923 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.476e-05/1.12, allocations: 25.16 kB / 0.9923 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.122, allocations: 1.673 MB / 0.994 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/1.123, allocations: 431.4 kB / 0.9944 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/1.123, allocations: 35.98 kB / 0.9944 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/1.124, allocations: 28 kB / 0.9944 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.124, allocations: 104.4 kB / 0.9945 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/1.124, allocations: 55.98 kB / 0.9946 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00188/1.126, allocations: 1.32 MB / 0.9959 GB, free: 76 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 0.9959 GB, free: 76 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001829/1.128, allocations: 0.5184 MB / 0.9964 GB, free: 15.55 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.004349/1.132, allocations: 3.026 MB / 0.9993 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001266/1.134, allocations: 0.8496 MB / 1 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.134, allocations: 4 kB / 1 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/1.134, allocations: 492.3 kB / 1.001 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005686/1.14, allocations: 1.332 MB / 1.002 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.159, allocations: 13.91 MB / 1.016 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.16, allocations: 1.408 MB / 1.017 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001498/1.162, allocations: 490.6 kB / 1.017 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008406/1.163, allocations: 0.6555 MB / 1.018 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/1.163, allocations: 0 / 1.018 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1511/1.314, allocations: 60.07 MB / 1.077 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/13.13, allocations: 7.938 kB / 1.077 GB, free: 13.27 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)