Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007121/0.007121, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001317/0.001317, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3165/0.3165, allocations: 38 MB / 307.9 MB, free: 10.34 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.84 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3245, allocations: 56.46 MB / 489.5 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5606/0.8852, allocations: 187.7 MB / 0.6613 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009917/0.8952, allocations: 7.021 MB / 0.6682 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.8968, allocations: 17.09 kB / 0.6682 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.8986, allocations: 347 kB / 0.6685 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009621/0.9082, allocations: 2.394 MB / 0.6708 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.9112, allocations: 0.9435 MB / 0.6718 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003693/0.9149, allocations: 1.697 MB / 0.6734 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007655/0.9157, allocations: 444.6 kB / 0.6738 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.9176, allocations: 0.8535 MB / 0.6747 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/0.9184, allocations: 0.5033 MB / 0.6752 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.9186, allocations: 54.62 kB / 0.6752 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.923, allocations: 1.504 MB / 0.6767 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.9232, allocations: 171 kB / 0.6769 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.9238, allocations: 372 kB / 0.6772 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.9272, allocations: 1.746 MB / 0.6789 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9272, allocations: 0 / 0.6789 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9272, allocations: 1.75 kB / 0.6789 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.9272, allocations: 0 / 0.6789 GB, free: 1.152 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002505/0.9297, allocations: 1.138 MB / 0.68 GB, free: 16.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.9298, allocations: 13.61 kB / 0.68 GB, free: 16.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.931, allocations: 148.9 kB / 0.6802 GB, free: 16.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.932, allocations: 0.5162 MB / 0.6807 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.932, allocations: 33.69 kB / 0.6807 GB, free: 16.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.9321, allocations: 41.78 kB / 0.6808 GB, free: 16.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.9333, allocations: 0.6411 MB / 0.6814 GB, free: 16.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.9334, allocations: 5.844 kB / 0.6814 GB, free: 16.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.9334, allocations: 24.59 kB / 0.6814 GB, free: 16.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.9334, allocations: 12.06 kB / 0.6814 GB, free: 16.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.9345, allocations: 0.4926 MB / 0.6819 GB, free: 16.04 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.938, allocations: 2.664 MB / 0.6845 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.9387, allocations: 317.7 kB / 0.6848 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.9389, allocations: 158.3 kB / 0.685 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.9403, allocations: 1.304 MB / 0.6862 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.9403, allocations: 46.55 kB / 0.6863 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/0.9403, allocations: 0.9062 kB / 0.6863 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.001572/0.9419, allocations: 0.6923 MB / 0.687 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.9421, allocations: 160.5 kB / 0.6871 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.9426, allocations: 0.5245 MB / 0.6876 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.9427, allocations: 37.52 kB / 0.6877 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.9429, allocations: 300.7 kB / 0.6879 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.9429, allocations: 125.2 kB / 0.6881 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.9431, allocations: 116.8 kB / 0.6882 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9433, allocations: 363.5 kB / 0.6885 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.9435, allocations: 142.7 kB / 0.6887 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.9439, allocations: 328 kB / 0.689 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.9445, allocations: 477.7 kB / 0.6894 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9445, allocations: 3.312 kB / 0.6894 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008713/0.9454, allocations: 0.56 MB / 0.69 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.9454, allocations: 10.2 kB / 0.69 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.9455, allocations: 5.391 kB / 0.69 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.9469, allocations: 238.3 kB / 0.6902 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.9472, allocations: 117 kB / 0.6903 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004377/0.9477, allocations: 0.5934 MB / 0.6909 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.9481, allocations: 56.16 kB / 0.691 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/0.9482, allocations: 58.98 kB / 0.691 GB, free: 11.06 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.9484, allocations: 188.8 kB / 0.6912 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.9486, allocations: 62.38 kB / 0.6913 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.9499, allocations: 0.7443 MB / 0.692 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.9499, allocations: 2.75 kB / 0.692 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9499, allocations: 0 / 0.692 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9499, allocations: 2.688 kB / 0.692 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.9513, allocations: 1.014 MB / 0.693 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.9513, allocations: 1.812 kB / 0.693 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.9515, allocations: 60.22 kB / 0.693 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/0.9544, allocations: 437.4 kB / 0.6935 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.9544, allocations: 10.41 kB / 0.6935 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004608/0.9549, allocations: 0.6041 MB / 0.6941 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9549, allocations: 1.688 kB / 0.6941 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.9558, allocations: 0.4933 MB / 0.6945 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.956, allocations: 142.6 kB / 0.6947 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.9561, allocations: 13 kB / 0.6947 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.9565, allocations: 17.61 kB / 0.6947 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.9566, allocations: 26.28 kB / 0.6947 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.9566, allocations: 20.97 kB / 0.6947 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005667/0.9572, allocations: 441.8 kB / 0.6952 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9572, allocations: 0 / 0.6952 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001238/0.9584, allocations: 334.5 kB / 0.6955 GB, free: 9.352 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.9596, allocations: 462.5 kB / 0.6959 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008909/0.9605, allocations: 392.4 kB / 0.6963 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9605, allocations: 0 / 0.6963 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.9609, allocations: 157.9 kB / 0.6965 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.9625, allocations: 410.7 kB / 0.6968 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.964, allocations: 0.9153 MB / 0.6977 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.9645, allocations: 0.8687 MB / 0.6986 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007546/0.9652, allocations: 227 kB / 0.6988 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.9654, allocations: 75.39 kB / 0.6989 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.9654, allocations: 0 / 0.6989 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of Templates: time 0.03169/0.9971, allocations: 18.08 MB / 0.7165 GB, free: 12.71 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)