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.0007095/0.0007096, allocations: 91.52 kB / 15.06 MB, free: 1.078 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.0007288/0.0007288, allocations: 176.7 kB / 15.95 MB, free: 192 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.153/1.153, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007183/0.007183, allocations: 1.924 MB / 272.3 MB, free: 3.629 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.0004408/0.0004409, allocations: 12.22 kB / 331 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06123/0.06168, allocations: 48.09 MB / 379.1 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.001926/0.06363, allocations: 1.855 MB / 380.9 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.06452, allocations: 0.582 MB / 381.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.06461, allocations: 4 kB / 381.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.06466, allocations: 15.84 kB / 381.5 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.06482, allocations: 71.41 kB / 381.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.06499, allocations: 27.97 kB / 381.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.06515, allocations: 131.2 kB / 381.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.06526, allocations: 24.89 kB / 381.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.448e-05/0.06533, allocations: 47.8 kB / 381.8 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.06542, allocations: 43.78 kB / 381.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.06544, allocations: 8 kB / 381.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.0655, allocations: 12 kB / 381.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.06553, allocations: 19.91 kB / 381.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.06557, allocations: 49.64 kB / 382 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.06568, allocations: 71.81 kB / 382 MB, free: 14.15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.06569, allocations: 0 / 382 MB, free: 14.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.0657, allocations: 0 / 382 MB, free: 14.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.06571, allocations: 3.938 kB / 382 MB, free: 14.14 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.0004317/0.06614, allocations: 406.8 kB / 382.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.06619, allocations: 12.03 kB / 382.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.06622, allocations: 38.55 kB / 382.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.06626, allocations: 11.91 kB / 382.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.06642, allocations: 205.2 kB / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.06644, allocations: 3.953 kB / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.06646, allocations: 12 kB / 382.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.06664, allocations: 92.06 kB / 382.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.06666, allocations: 0 / 382.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.06667, allocations: 4 kB / 382.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.06668, allocations: 4 kB / 382.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.06682, allocations: 55.97 kB / 382.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.0673, allocations: 388.4 kB / 383.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.06768, allocations: 74.47 kB / 383.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.06775, allocations: 20.86 kB / 383.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.06777, allocations: 4 kB / 383.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.0678, allocations: 34.61 kB / 383.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.06781, allocations: 4 kB / 383.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002357/0.06805, allocations: 97.62 kB / 383.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.06809, allocations: 51.41 kB / 383.5 MB, free: 12.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.06824, allocations: 178.7 kB / 383.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.06826, allocations: 25.7 kB / 383.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.06832, allocations: 108 kB / 383.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.06834, allocations: 19.75 kB / 383.8 MB, free: 12.12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.06835, allocations: 3.938 kB / 383.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.06844, allocations: 322.8 kB / 384.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.0685, allocations: 19.98 kB / 384.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.06855, allocations: 16 kB / 384.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.06861, allocations: 24.11 kB / 384.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.06862, allocations: 4 kB / 384.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001459/0.06877, allocations: 89.53 kB / 384.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.06882, allocations: 100.9 kB / 384.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.06883, allocations: 4 kB / 384.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.06885, allocations: 0 / 384.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.06892, allocations: 8 kB / 384.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.06893, allocations: 4 kB / 384.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.069, allocations: 19.83 kB / 384.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.06901, allocations: 4 kB / 384.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.06902, allocations: 4 kB / 384.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001032/0.06913, allocations: 43.98 kB / 384.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.06914, allocations: 0 / 384.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-06/0.06915, allocations: 0 / 384.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.06921, allocations: 11.98 kB / 384.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.06922, allocations: 11.95 kB / 384.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.06926, allocations: 3.938 kB / 384.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.06928, allocations: 4 kB / 384.5 MB, free: 11.41 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 8.357e-05/0.06936, allocations: 193.1 kB / 384.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.0694, allocations: 12 kB / 384.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.06956, allocations: 90.52 kB / 384.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.06958, allocations: 4 kB / 384.8 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.06959, allocations: 3.953 kB / 384.8 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.06959, allocations: 0 / 384.8 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.06992, allocations: 351.4 kB / 385.2 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.06993, allocations: 0 / 385.2 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.06998, allocations: 8 kB / 385.2 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.07, allocations: 8.031 kB / 385.2 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.07001, allocations: 12.06 kB / 385.2 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.07002, allocations: 0 / 385.2 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.07002, allocations: 0 / 385.2 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.07019, allocations: 184.1 kB / 385.4 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.07026, allocations: 97 kB / 385.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.07028, allocations: 0 / 385.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.913e-05/0.07036, allocations: 7.953 kB / 385.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.0704, allocations: 4 kB / 385.5 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.07041, allocations: 4 kB / 385.5 MB, free: 10.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.571e-05/0.07051, allocations: 136 kB / 385.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.07052, allocations: 4 kB / 385.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.07081, allocations: 43.84 kB / 385.7 MB, free: 10.16 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.0003616/0.07117, allocations: 0.7092 MB / 386.4 MB, free: 9.422 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.07136, allocations: 75.89 kB / 386.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.07138, allocations: 0 / 386.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.07143, allocations: 19.94 kB / 386.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.0717, allocations: 20.12 kB / 386.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.07265, allocations: 0.7439 MB / 387.2 MB, free: 8.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.07287, allocations: 0.7042 MB / 387.9 MB, free: 7.789 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.07292, allocations: 12.42 kB / 388 MB, free: 7.777 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.07297, allocations: 31.44 kB / 388 MB, free: 7.746 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.07298, allocations: 0 / 388 MB, free: 7.746 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.08338, allocations: 2.157 MB / 390.1 MB, free: 5.594 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/0.08354, allocations: 144.3 kB / 390.3 MB, free: 5.352 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.528, allocations: 0 / 390.3 MB, free: 5.352 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: