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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.0008962/0.0008962, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009291/0.0009292, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01251/0.01251, allocations: 1.92 MB / 272.3 MB, free: 3.41 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.0008399/0.0008401, allocations: 12.22 kB / 331 MB, free: 33.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1224, allocations: 48.09 MB / 379.1 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.00242/0.1249, allocations: 1.757 MB / 380.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.1258, allocations: 0.586 MB / 381.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.1259, allocations: 0 / 381.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.126, allocations: 15.84 kB / 381.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.1262, allocations: 83.75 kB / 381.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1264, allocations: 27.86 kB / 381.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1266, allocations: 95.78 kB / 381.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1267, allocations: 36.88 kB / 381.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.1268, allocations: 39.86 kB / 381.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1269, allocations: 47.78 kB / 381.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1269, allocations: 4 kB / 381.7 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.127, allocations: 8 kB / 381.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.127, allocations: 23.91 kB / 381.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.1271, allocations: 45.64 kB / 381.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1272, allocations: 71.81 kB / 381.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1273, allocations: 4 kB / 381.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1273, allocations: 0 / 381.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.1273, allocations: 0 / 381.9 MB, free: 14.27 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.0006096/0.1279, allocations: 410.8 kB / 382.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1279, allocations: 8.031 kB / 382.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.128, allocations: 42.5 kB / 382.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.128, allocations: 7.906 kB / 382.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1283, allocations: 209.3 kB / 382.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1283, allocations: 11.95 kB / 382.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1283, allocations: 4 kB / 382.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1285, allocations: 100.5 kB / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1286, allocations: 0 / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1286, allocations: 3.938 kB / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1286, allocations: 0 / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1287, allocations: 67.91 kB / 382.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.1293, allocations: 384.4 kB / 383.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.1298, allocations: 74.53 kB / 383.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1299, allocations: 4 kB / 383.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1299, allocations: 30.56 kB / 383.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.1299, allocations: 0 / 383.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002987/0.1302, allocations: 101.6 kB / 383.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1302, allocations: 51.41 kB / 383.4 MB, free: 12.6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1305, allocations: 186.7 kB / 383.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1305, allocations: 25.7 kB / 383.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.1306, allocations: 108 kB / 383.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1306, allocations: 19.73 kB / 383.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1306, allocations: 0 / 383.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1307, allocations: 318.8 kB / 384 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.1308, allocations: 19.98 kB / 384 MB, free: 11.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.1309, allocations: 23.98 kB / 384.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.1309, allocations: 20 kB / 384.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1309, allocations: 0 / 384.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001593/0.1311, allocations: 89.52 kB / 384.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.1312, allocations: 92.95 kB / 384.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1312, allocations: 3.984 kB / 384.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1312, allocations: 4 kB / 384.3 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.1313, allocations: 15.98 kB / 384.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1313, allocations: 0 / 384.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.1314, allocations: 11.91 kB / 384.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1314, allocations: 4 kB / 384.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.1314, allocations: 4 kB / 384.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001116/0.1315, allocations: 43.97 kB / 384.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/0.1315, allocations: 4 kB / 384.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-06/0.1316, allocations: 4 kB / 384.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.1316, allocations: 11.94 kB / 384.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1316, allocations: 11.83 kB / 384.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.1317, allocations: 8.188 kB / 384.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1317, allocations: 4 kB / 384.4 MB, free: 11.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.1318, allocations: 197.1 kB / 384.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.1319, allocations: 11.81 kB / 384.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.1321, allocations: 86.61 kB / 384.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1321, allocations: 0 / 384.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1321, allocations: 7.938 kB / 384.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1321, allocations: 0 / 384.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.1325, allocations: 351.4 kB / 385 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1325, allocations: 0 / 385 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.1326, allocations: 11.98 kB / 385 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1326, allocations: 0 / 385 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1326, allocations: 11.95 kB / 385 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1326, allocations: 3.938 kB / 385 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1326, allocations: 0 / 385 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.1328, allocations: 194.2 kB / 385.2 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.1329, allocations: 93 kB / 385.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.1329, allocations: 7.953 kB / 385.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.133, allocations: 7.984 kB / 385.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.133, allocations: 0 / 385.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1331, allocations: 4 kB / 385.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1332, allocations: 140 kB / 385.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1332, allocations: 0 / 385.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.1335, allocations: 43.91 kB / 385.5 MB, free: 10.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005107/0.134, allocations: 0.7914 MB / 386.3 MB, free: 9.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1342, allocations: 71.91 kB / 386.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1342, allocations: 0 / 386.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.1343, allocations: 19.98 kB / 386.4 MB, free: 9.359 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1345, allocations: 12.25 kB / 386.4 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1357, allocations: 0.7438 MB / 387.2 MB, free: 8.559 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.136, allocations: 0.7159 MB / 387.9 MB, free: 7.816 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.788e-05/0.1361, allocations: 8.422 kB / 387.9 MB, free: 7.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.1362, allocations: 35.42 kB / 387.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1362, allocations: 3.938 kB / 387.9 MB, free: 7.77 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.1513, allocations: 2.141 MB / 390.1 MB, free: 5.633 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.1516, allocations: 144.3 kB / 390.2 MB, free: 5.387 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.183, allocations: 3.938 kB / 390.2 MB, free: 5.383 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSupplyValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) Environment - environmentSimulation: