Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.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.Movers.Validation.FlowControlled_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_dp",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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 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.001044/0.001044, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 60.44 kB / 0.5019 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, allocations: 80.2 MB / 0.5802 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_dp): time 0.8468/0.9805, allocations: 323.6 MB / 0.8962 GB, free: 31.8 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02438/1.005, allocations: 20.22 MB / 0.9159 GB, free: 31.68 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003401/1.008, allocations: 92.62 kB / 0.916 GB, free: 31.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004621/1.013, allocations: 1.516 MB / 0.9175 GB, free: 31.64 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/1.024, allocations: 4.223 MB / 0.9216 GB, free: 31.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005949/1.03, allocations: 2.354 MB / 0.9239 GB, free: 31.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008617/1.038, allocations: 5.956 MB / 0.9297 GB, free: 31.43 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/1.042, allocations: 2.173 MB / 0.9319 GB, free: 31.17 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00636/1.048, allocations: 3.223 MB / 0.935 GB, free: 31.13 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/1.052, allocations: 1.733 MB / 0.9367 GB, free: 30.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005461/1.052, allocations: 221.3 kB / 0.9369 GB, free: 30.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007031/1.059, allocations: 3.677 MB / 0.9405 GB, free: 30.9 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/1.06, allocations: 0.8826 MB / 0.9414 GB, free: 30.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002099/1.062, allocations: 1.346 MB / 0.9427 GB, free: 30.41 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00713/1.069, allocations: 4.717 MB / 0.9473 GB, free: 29.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.069, allocations: 4 kB / 0.9473 GB, free: 29.81 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.944e-06/1.069, allocations: 0 / 0.9473 GB, free: 29.81 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.377e-05/1.07, allocations: 0 / 0.9473 GB, free: 29.81 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.004499/1.074, allocations: 3.001 MB / 0.9502 GB, free: 28.04 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/1.074, allocations: 8.031 kB / 0.9502 GB, free: 28.04 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002078/1.074, allocations: 202.6 kB / 0.9504 GB, free: 27.96 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005314/1.08, allocations: 0.8428 MB / 0.9512 GB, free: 27.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/1.083, allocations: 1.862 MB / 0.9531 GB, free: 26.69 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/1.083, allocations: 167.6 kB / 0.9532 GB, free: 26.66 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/1.083, allocations: 151.1 kB / 0.9534 GB, free: 26.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/1.086, allocations: 1.677 MB / 0.955 GB, free: 26.15 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/1.086, allocations: 0 / 0.955 GB, free: 26.15 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/1.086, allocations: 58.97 kB / 0.955 GB, free: 26.14 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/1.086, allocations: 53.2 kB / 0.9551 GB, free: 26.14 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/1.089, allocations: 1.369 MB / 0.9564 GB, free: 25.51 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.008043/1.097, allocations: 7.97 MB / 0.9642 GB, free: 18.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/1.099, allocations: 1.02 MB / 0.9652 GB, free: 18.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/1.1, allocations: 485.1 kB / 0.9657 GB, free: 17.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/1.1, allocations: 111.3 kB / 0.9658 GB, free: 17.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/1.1, allocations: 45.06 kB / 0.9658 GB, free: 17.65 MB / 0.67 GB Notification: Performance of pre-optimization done (n=73): time 2.835e-06/1.1, allocations: 0 / 0.9658 GB, free: 17.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=73): time 0.003871/1.104, allocations: 1.539 MB / 0.9673 GB, free: 16.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/1.104, allocations: 60.25 kB / 0.9674 GB, free: 16.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/1.106, allocations: 1.803 MB / 0.9691 GB, free: 15.79 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/1.106, allocations: 50.08 kB / 0.9692 GB, free: 15.74 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/1.107, allocations: 0.9878 MB / 0.9702 GB, free: 14.88 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/1.107, allocations: 261.5 kB / 0.9704 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/1.107, allocations: 211.4 kB / 0.9706 GB, free: 14.54 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.071e-05/1.107, allocations: 347.9 kB / 0.9709 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/1.108, allocations: 465.9 kB / 0.9714 GB, free: 13.97 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/1.11, allocations: 0.8335 MB / 0.9722 GB, free: 13.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/1.112, allocations: 1.211 MB / 0.9734 GB, free: 12.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.112, allocations: 7.906 kB / 0.9734 GB, free: 12.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002949/1.115, allocations: 1.461 MB / 0.9748 GB, free: 11.76 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.115, allocations: 14.94 kB / 0.9748 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.115, allocations: 7.594 kB / 0.9748 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/1.115, allocations: 83.89 kB / 0.9749 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.116, allocations: 276.9 kB / 0.9752 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005654/1.117, allocations: 1.752 MB / 0.9769 GB, free: 9.914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/1.118, allocations: 144.4 kB / 0.977 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/1.118, allocations: 50.23 kB / 0.9771 GB, free: 9.816 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001422/1.12, allocations: 0.826 MB / 0.9779 GB, free: 9.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009282/1.121, allocations: 0.7858 MB / 0.9787 GB, free: 8.207 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001698/1.122, allocations: 1.121 MB / 0.9797 GB, free: 7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/1.122, allocations: 0 / 0.9797 GB, free: 7 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002376/1.125, allocations: 1.432 MB / 0.9811 GB, free: 5.594 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.125, allocations: 8 kB / 0.9812 GB, free: 5.586 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.125, allocations: 8 kB / 0.9812 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/1.125, allocations: 47.47 kB / 0.9812 GB, free: 5.531 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/1.126, allocations: 241.4 kB / 0.9814 GB, free: 5.309 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/1.127, allocations: 1.647 MB / 0.983 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.128, allocations: 115.1 kB / 0.9832 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/1.128, allocations: 51.98 kB / 0.9832 GB, free: 3.371 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (117): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002379/1.128, allocations: 248.6 kB / 0.9834 GB, free: 3.137 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/1.129, allocations: 193.6 kB / 0.9836 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/1.131, allocations: 1.173 MB / 0.9848 GB, free: 1.746 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.131, allocations: 12 kB / 0.9848 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.131, allocations: 0 / 0.9848 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00188/1.133, allocations: 1.008 MB / 0.9858 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/1.138, allocations: 2.838 MB / 0.9885 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.138, allocations: 6.625 kB / 0.9885 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.139, allocations: 217.1 kB / 0.9888 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.731e-05/1.139, allocations: 27.47 kB / 0.9888 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/1.139, allocations: 27.98 kB / 0.9888 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/1.141, allocations: 3.299 MB / 0.992 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.141, allocations: 0 / 0.992 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/1.145, allocations: 1.746 MB / 0.9937 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006628/1.145, allocations: 366.4 kB / 0.9941 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/1.146, allocations: 12.19 kB / 0.9941 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.147, allocations: 59.94 kB / 0.9942 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.147, allocations: 55.2 kB / 0.9942 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/1.147, allocations: 31.97 kB / 0.9942 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001701/1.149, allocations: 1.224 MB / 0.9954 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/1.149, allocations: 0 / 0.9954 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002321/1.151, allocations: 0.9808 MB / 0.9964 GB, free: 5.445 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004526/1.155, allocations: 2.545 MB / 0.9989 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004574/1.16, allocations: 1.849 MB / 1.001 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.16, allocations: 4 kB / 1.001 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/1.161, allocations: 0.5965 MB / 1.001 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/1.165, allocations: 1.067 MB / 1.002 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.187, allocations: 15 MB / 1.017 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.188, allocations: 1.582 MB / 1.018 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002035/1.19, allocations: 480.7 kB / 1.019 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.191, allocations: 0.8429 MB / 1.02 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/1.191, allocations: 0 / 1.02 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9255/2.117, allocations: 53.49 MB / 1.072 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/16.33, allocations: 0 / 1.072 GB, free: 7.77 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_dp.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)