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.00104/0.00104, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001107/0.001107, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.29/1.29, allocations: 205.1 MB / 222.1 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.0106/0.0106, allocations: 1.932 MB / 271.4 MB, free: 3.348 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.001363/0.001363, allocations: 83.59 kB / 329.4 MB, free: 33.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07725/0.07862, allocations: 47.13 MB / 376.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.003219/0.08189, allocations: 2.267 MB / 378.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.08284, allocations: 0.6128 MB / 379.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.08291, allocations: 0 / 379.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.65e-05/0.08297, allocations: 7.922 kB / 379.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.08311, allocations: 39.69 kB / 379.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.08331, allocations: 35.91 kB / 379.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.08349, allocations: 135.3 kB / 379.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.08362, allocations: 36.88 kB / 379.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.0837, allocations: 47.73 kB / 379.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.0838, allocations: 55.72 kB / 379.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.08382, allocations: 12 kB / 379.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.943e-05/0.08389, allocations: 16 kB / 379.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.08393, allocations: 23.86 kB / 379.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.08399, allocations: 59.67 kB / 379.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.08415, allocations: 111.6 kB / 380 MB, free: 14.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.08416, allocations: 4 kB / 380 MB, free: 14.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.08417, allocations: 0 / 380 MB, free: 14.37 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.08417, allocations: 0 / 380 MB, free: 14.37 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.000564/0.08474, allocations: 418.9 kB / 380.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.08479, allocations: 15.89 kB / 380.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.08485, allocations: 42.75 kB / 380.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.08489, allocations: 12.84 kB / 380.5 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.0851, allocations: 202.3 kB / 380.7 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.08513, allocations: 8.375 kB / 380.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.08515, allocations: 4.375 kB / 380.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.08535, allocations: 93.72 kB / 380.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.08537, allocations: 0 / 380.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.08539, allocations: 8 kB / 380.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.0854, allocations: 4 kB / 380.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.08555, allocations: 55.97 kB / 380.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.0861, allocations: 388.3 kB / 381.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.08658, allocations: 70.53 kB / 381.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.08665, allocations: 20.94 kB / 381.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.08668, allocations: 4 kB / 381.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.0867, allocations: 34.5 kB / 381.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.08671, allocations: 0 / 381.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000244/0.08696, allocations: 89.72 kB / 381.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.08701, allocations: 51.41 kB / 381.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.08716, allocations: 186.7 kB / 381.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.08718, allocations: 29.7 kB / 381.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.08725, allocations: 104 kB / 381.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.08727, allocations: 19.73 kB / 381.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.08731, allocations: 25.66 kB / 381.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.08743, allocations: 318.8 kB / 382.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.0875, allocations: 20.86 kB / 382.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.08756, allocations: 27.98 kB / 382.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.08767, allocations: 44.78 kB / 382.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.08768, allocations: 0 / 382.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001544/0.08783, allocations: 89.61 kB / 382.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.08786, allocations: 7.938 kB / 382.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.08787, allocations: 4 kB / 382.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.08789, allocations: 3.938 kB / 382.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.08797, allocations: 11.98 kB / 382.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.08798, allocations: 4 kB / 382.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.08805, allocations: 7.906 kB / 382.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.08806, allocations: 4 kB / 382.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001395/0.08821, allocations: 104.1 kB / 382.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.087e-05/0.08825, allocations: 24.11 kB / 382.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.126e-05/0.08834, allocations: 44.97 kB / 382.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.72e-07/0.08835, allocations: 0 / 382.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001369/0.08849, allocations: 73.59 kB / 382.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.08851, allocations: 10.97 kB / 382.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.08851, allocations: 0 / 382.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.08852, allocations: 7.938 kB / 382.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.08858, allocations: 11.98 kB / 382.7 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.08859, allocations: 0 / 382.7 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.08865, allocations: 11.88 kB / 382.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.08866, allocations: 0 / 382.7 MB, free: 11.46 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 8.919e-05/0.08875, allocations: 181.1 kB / 382.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.08879, allocations: 19.75 kB / 382.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.08897, allocations: 78.59 kB / 383 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.08899, allocations: 0 / 383 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.089, allocations: 4 kB / 383 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.08901, allocations: 0 / 383 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.08939, allocations: 351.3 kB / 383.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.08941, allocations: 0 / 383.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.08946, allocations: 11.98 kB / 383.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.08947, allocations: 4.031 kB / 383.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.08949, allocations: 7.938 kB / 383.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.08949, allocations: 0 / 383.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.0895, allocations: 0 / 383.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.08968, allocations: 180.1 kB / 383.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.08975, allocations: 93 kB / 383.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.08978, allocations: 8 kB / 383.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.08986, allocations: 0 / 383.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.0899, allocations: 8 kB / 383.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.08991, allocations: 4.062 kB / 383.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.09002, allocations: 140 kB / 383.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09003, allocations: 0 / 383.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.09033, allocations: 43.91 kB / 383.8 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.0004188/0.09076, allocations: 0.7092 MB / 384.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.09097, allocations: 71.89 kB / 384.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.09098, allocations: 0 / 384.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.09103, allocations: 19.98 kB / 384.6 MB, free: 9.406 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.09137, allocations: 12.06 kB / 384.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.09311, allocations: 1.7 MB / 386.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.09338, allocations: 0.7041 MB / 387 MB, free: 6.879 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.09343, allocations: 12.42 kB / 387 MB, free: 6.867 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.0935, allocations: 31.42 kB / 387.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.0935, allocations: 0 / 387.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/0.3229, allocations: 2.321 MB / 389.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.3231, allocations: 156.2 kB / 389.5 MB, free: 4.242 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.967, allocations: 0 / 389.5 MB, free: 4.242 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/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)