Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",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.00123/0.00123, allocations: 104 kB / 15.6 MB, free: 148 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.001305/0.001306, allocations: 196.1 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.4 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009679/0.009679, allocations: 1.924 MB / 271.7 MB, free: 3.156 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001799/0.0018, allocations: 71.91 kB / 330 MB, free: 32.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.09031, allocations: 47.13 MB / 377.1 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.004556/0.09491, allocations: 1.961 MB / 379 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.09612, allocations: 0.5816 MB / 379.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.09627, allocations: 0 / 379.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.651e-05/0.09639, allocations: 19.84 kB / 379.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.09657, allocations: 43.58 kB / 379.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.09685, allocations: 39.95 kB / 379.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.09708, allocations: 135.3 kB / 379.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.09724, allocations: 40.81 kB / 379.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.09735, allocations: 47.73 kB / 379.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.09748, allocations: 55.78 kB / 380 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.09751, allocations: 8 kB / 380 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.0976, allocations: 15.98 kB / 380 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.09763, allocations: 19.94 kB / 380 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.09771, allocations: 55.67 kB / 380.1 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.09791, allocations: 111.6 kB / 380.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.09793, allocations: 0 / 380.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09794, allocations: 0 / 380.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.09795, allocations: 0 / 380.2 MB, free: 14.36 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006146/0.09857, allocations: 426.9 kB / 380.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.09864, allocations: 11.89 kB / 380.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.09871, allocations: 42.73 kB / 380.7 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.09876, allocations: 12.78 kB / 380.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.099, allocations: 206.2 kB / 380.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.09902, allocations: 4.375 kB / 380.9 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.09904, allocations: 8.375 kB / 380.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.09925, allocations: 90.41 kB / 381 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.09927, allocations: 0 / 381 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.09929, allocations: 4 kB / 381 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.0993, allocations: 4 kB / 381 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.09947, allocations: 63.89 kB / 381.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.1001, allocations: 392.3 kB / 381.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.1006, allocations: 66.55 kB / 381.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.1007, allocations: 24.94 kB / 381.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1007, allocations: 0 / 381.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1007, allocations: 34.56 kB / 381.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1007, allocations: 0 / 381.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002973/0.101, allocations: 97.5 kB / 381.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1011, allocations: 55.41 kB / 381.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1013, allocations: 178.7 kB / 381.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1013, allocations: 25.7 kB / 381.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.1014, allocations: 112 kB / 382 MB, free: 12.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.1014, allocations: 11.75 kB / 382 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.1015, allocations: 21.72 kB / 382.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1016, allocations: 318.8 kB / 382.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.1017, allocations: 32.84 kB / 382.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.186e-05/0.1017, allocations: 15.98 kB / 382.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1019, allocations: 52.97 kB / 382.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1019, allocations: 0 / 382.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001728/0.1021, allocations: 89.47 kB / 382.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.1021, allocations: 7.938 kB / 382.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1021, allocations: 3.984 kB / 382.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1021, allocations: 4 kB / 382.6 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.1022, allocations: 12 kB / 382.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1022, allocations: 0 / 382.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.1023, allocations: 7.906 kB / 382.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1023, allocations: 7.922 kB / 382.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.92e-05/0.1024, allocations: 100.1 kB / 382.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.338e-05/0.1025, allocations: 19.98 kB / 382.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.86e-05/0.1026, allocations: 36.84 kB / 382.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.1026, allocations: 3.938 kB / 382.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001609/0.1028, allocations: 85.59 kB / 382.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1028, allocations: 10.48 kB / 382.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.1028, allocations: 0 / 382.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-06/0.1028, allocations: 3.938 kB / 382.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.1029, allocations: 12 kB / 382.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-06/0.1029, allocations: 0 / 382.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.1029, allocations: 3.938 kB / 382.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.103, allocations: 4.438 kB / 382.9 MB, free: 11.45 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.000104/0.1031, allocations: 181.1 kB / 383 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.1031, allocations: 19.75 kB / 383.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.1033, allocations: 90.53 kB / 383.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1033, allocations: 0 / 383.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1033, allocations: 0 / 383.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1033, allocations: 7.984 kB / 383.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.1038, allocations: 347.3 kB / 383.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1038, allocations: 0 / 383.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.1038, allocations: 16.02 kB / 383.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1038, allocations: 0 / 383.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.1038, allocations: 0 / 383.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1039, allocations: 0 / 383.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1039, allocations: 0 / 383.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1041, allocations: 184.1 kB / 383.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1041, allocations: 97 kB / 383.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1042, allocations: 0 / 383.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.1043, allocations: 4 kB / 383.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1043, allocations: 3.984 kB / 383.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.1043, allocations: 4 kB / 383.8 MB, free: 10.4 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1044, allocations: 140 kB / 383.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1044, allocations: 0 / 383.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1048, allocations: 35.91 kB / 384 MB, free: 10.23 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004827/0.1053, allocations: 0.7169 MB / 384.7 MB, free: 9.484 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.1055, allocations: 63.97 kB / 384.8 MB, free: 9.422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1055, allocations: 0 / 384.8 MB, free: 9.422 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.1056, allocations: 27.98 kB / 384.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1059, allocations: 8 kB / 384.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.1078, allocations: 1.672 MB / 386.5 MB, free: 7.629 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1081, allocations: 0.7041 MB / 387.2 MB, free: 6.898 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.1082, allocations: 8.703 kB / 387.2 MB, free: 6.891 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.1082, allocations: 27.44 kB / 387.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1082, allocations: 0 / 387.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.1281, allocations: 2.425 MB / 389.6 MB, free: 4.379 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.597, allocations: 8.062 kB / 389.6 MB, free: 4.371 MB / 286.1 MB (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestSupplyValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)