Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",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.001005/0.001005, allocations: 95.34 kB / 15.68 MB, free: 488 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.001194/0.001194, allocations: 177.8 kB / 16.57 MB, free: 6.844 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.927/1.927, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3977/0.3977, allocations: 43.55 MB / 314.5 MB, free: 8.715 MB / 254.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.0006363/0.0006367, allocations: 16 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1444, allocations: 58.84 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.2624/0.4069, allocations: 14.62 MB / 457.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004844/0.4117, allocations: 3.81 MB / 461.3 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.4123, allocations: 16.88 kB / 461.3 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007359/0.4131, allocations: 231.8 kB / 461.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.4148, allocations: 0.6196 MB / 462.1 MB, free: 36.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.4172, allocations: 0.7711 MB / 462.9 MB, free: 36.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.4183, allocations: 0.8576 MB / 463.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.4188, allocations: 368.3 kB / 464.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005982/0.4194, allocations: 457.2 kB / 464.6 MB, free: 36.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.4198, allocations: 323.1 kB / 464.9 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.4198, allocations: 27.44 kB / 464.9 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.421, allocations: 0.511 MB / 465.4 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.4211, allocations: 133.9 kB / 465.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.4213, allocations: 146.7 kB / 465.7 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008039/0.4221, allocations: 0.7575 MB / 466.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.4221, allocations: 0 / 466.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4221, allocations: 0 / 466.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4222, allocations: 2.969 kB / 466.5 MB, free: 36.35 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001214/0.4234, allocations: 0.8869 MB / 467.3 MB, free: 35.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4234, allocations: 12.64 kB / 467.4 MB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.092e-05/0.4235, allocations: 91.97 kB / 467.5 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.4238, allocations: 86.06 kB / 467.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.4244, allocations: 465 kB / 468 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.4244, allocations: 36.25 kB / 468 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.4245, allocations: 46.38 kB / 468.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.4254, allocations: 0.6487 MB / 468.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4254, allocations: 3.938 kB / 468.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.4254, allocations: 23.31 kB / 468.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.4255, allocations: 11.88 kB / 468.8 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.4261, allocations: 0.5312 MB / 469.3 MB, free: 35.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.429, allocations: 3.173 MB / 472.5 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.4294, allocations: 224.9 kB / 472.7 MB, free: 33.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.4297, allocations: 341.8 kB / 473 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.4301, allocations: 296.6 kB / 473.3 MB, free: 32.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.4301, allocations: 0 / 473.3 MB, free: 32.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009385/0.431, allocations: 0.6194 MB / 473.9 MB, free: 32.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.4311, allocations: 292.3 kB / 474.2 MB, free: 32.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/0.4316, allocations: 0.5456 MB / 474.8 MB, free: 32.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.4317, allocations: 34.45 kB / 474.8 MB, free: 31.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.4319, allocations: 339.8 kB / 475.1 MB, free: 31.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.762e-05/0.432, allocations: 86.92 kB / 475.2 MB, free: 31.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.4321, allocations: 11.62 kB / 475.2 MB, free: 31.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4322, allocations: 375.8 kB / 475.6 MB, free: 31.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.4324, allocations: 157.3 kB / 475.7 MB, free: 31.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.4327, allocations: 386.3 kB / 476.1 MB, free: 31.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.433, allocations: 238.1 kB / 476.3 MB, free: 31.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4331, allocations: 0 / 476.3 MB, free: 31.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009035/0.434, allocations: 0.6384 MB / 477 MB, free: 30.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004349/0.4344, allocations: 2.122 MB / 479.1 MB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.4344, allocations: 3.312 kB / 479.1 MB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.4345, allocations: 13.41 kB / 479.1 MB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.4357, allocations: 198.8 kB / 479.3 MB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003505/0.4361, allocations: 0.6252 MB / 479.9 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.4366, allocations: 79.77 kB / 480 MB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.4367, allocations: 29.19 kB / 480 MB, free: 28.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.4367, allocations: 7.375 kB / 480.1 MB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007968/0.4375, allocations: 0.5574 MB / 480.6 MB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4376, allocations: 7.062 kB / 480.6 MB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.4376, allocations: 6.875 kB / 480.6 MB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4379, allocations: 123.3 kB / 480.7 MB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4379, allocations: 11.03 kB / 480.8 MB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.4383, allocations: 66.44 kB / 480.8 MB, free: 28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.4384, allocations: 29.64 kB / 480.9 MB, free: 28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003697/0.4388, allocations: 311.8 kB / 481.2 MB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.4389, allocations: 62.19 kB / 481.2 MB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.4401, allocations: 0.7858 MB / 482 MB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4401, allocations: 6.406 kB / 482 MB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4401, allocations: 3.219 kB / 482 MB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4401, allocations: 0 / 482 MB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.4406, allocations: 0.5418 MB / 482.6 MB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4406, allocations: 0 / 482.6 MB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.4413, allocations: 127.1 kB / 482.7 MB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4413, allocations: 3.188 kB / 482.7 MB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.4413, allocations: 13.64 kB / 482.7 MB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002286/0.4415, allocations: 0.5892 MB / 483.3 MB, free: 26.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4416, allocations: 11.02 kB / 483.3 MB, free: 26.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.4422, allocations: 0.5556 MB / 483.9 MB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.4425, allocations: 224.5 kB / 484.1 MB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-05/0.4426, allocations: 7.25 kB / 484.1 MB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.4429, allocations: 27.7 kB / 484.1 MB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.443, allocations: 30.34 kB / 484.1 MB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.443, allocations: 17.09 kB / 484.1 MB, free: 26.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004095/0.4434, allocations: 412.1 kB / 484.6 MB, free: 25.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4434, allocations: 0 / 484.6 MB, free: 25.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001169/0.4446, allocations: 420.1 kB / 485 MB, free: 25.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/0.446, allocations: 1.32 MB / 486.3 MB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.4481, allocations: 0.9629 MB / 487.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4482, allocations: 2.812 kB / 487.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008277/0.449, allocations: 391.6 kB / 487.6 MB, free: 24.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4502, allocations: 267.5 kB / 487.9 MB, free: 24.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.4549, allocations: 6.942 MB / 494.8 MB, free: 18.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.4552, allocations: 0.9047 MB / 495.7 MB, free: 18.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006936/0.4559, allocations: 217.8 kB / 496 MB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.4561, allocations: 230.9 kB / 496.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4562, allocations: 0 / 496.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/0.5146, allocations: 19.96 MB / 0.504 GB, free: 12.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.5148, allocations: 283.3 kB / 0.5043 GB, free: 12.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.783, allocations: 0 / 0.5043 GB, free: 12.09 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) Environment - environmentSimulation: