Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.0009618/0.000962, allocations: 93.72 kB / 16.98 MB, free: 5.934 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.0008852/0.0008853, allocations: 186.3 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.211/0.211, allocations: 44.22 MB / 337.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 9.031 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4611/0.5861, allocations: 147 MB / 0.604 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.5938, allocations: 4.179 MB / 0.6081 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/0.5945, allocations: 23.75 kB / 0.6081 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009205/0.5955, allocations: 254.7 kB / 0.6084 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.5997, allocations: 1.14 MB / 0.6095 GB, free: 9.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.6022, allocations: 0.8384 MB / 0.6103 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.6039, allocations: 0.8989 MB / 0.6112 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.6044, allocations: 346.5 kB / 0.6115 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009658/0.6054, allocations: 498.5 kB / 0.612 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.6059, allocations: 334.7 kB / 0.6123 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.606, allocations: 24 kB / 0.6123 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.6098, allocations: 1.74 MB / 0.614 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.61, allocations: 127.5 kB / 0.6142 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.6103, allocations: 149.4 kB / 0.6143 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.6125, allocations: 1.134 MB / 0.6154 GB, free: 3.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.6125, allocations: 0 / 0.6154 GB, free: 3.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6125, allocations: 0 / 0.6154 GB, free: 3.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.6125, allocations: 0 / 0.6154 GB, free: 3.25 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.0019/0.6144, allocations: 0.9311 MB / 0.6163 GB, free: 2.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.6145, allocations: 12.03 kB / 0.6163 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.6146, allocations: 78.53 kB / 0.6164 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009754/0.6156, allocations: 139.2 kB / 0.6165 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.6163, allocations: 456.7 kB / 0.617 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.6163, allocations: 29 kB / 0.617 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.6164, allocations: 40 kB / 0.617 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6175, allocations: 0.5867 MB / 0.6176 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6175, allocations: 0 / 0.6176 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.6176, allocations: 24 kB / 0.6176 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.6176, allocations: 8 kB / 0.6176 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008922/0.6185, allocations: 483.5 kB / 0.6181 GB, free: 360 kB / 446.1 MB 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.003135/0.6216, allocations: 2.659 MB / 0.6207 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.6224, allocations: 353.8 kB / 0.621 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000453/0.6229, allocations: 429.8 kB / 0.6214 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.6229, allocations: 38.84 kB / 0.6215 GB, free: 12.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.6229, allocations: 0 / 0.6215 GB, free: 12.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001644/0.6246, allocations: 0.7199 MB / 0.6222 GB, free: 11.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.6247, allocations: 132.5 kB / 0.6223 GB, free: 11.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.6252, allocations: 481.9 kB / 0.6228 GB, free: 11.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.6253, allocations: 33.7 kB / 0.6228 GB, free: 11.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.6255, allocations: 275.8 kB / 0.6231 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.6256, allocations: 114.3 kB / 0.6232 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.6256, allocations: 8 kB / 0.6232 GB, free: 10.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6258, allocations: 366.7 kB / 0.6235 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.6261, allocations: 148.8 kB / 0.6237 GB, free: 10.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.6265, allocations: 279.7 kB / 0.6239 GB, free: 9.898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.6268, allocations: 185 kB / 0.6241 GB, free: 9.719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6268, allocations: 7.938 kB / 0.6241 GB, free: 9.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000952/0.6278, allocations: 0.5481 MB / 0.6247 GB, free: 9.152 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6278, allocations: 4.438 kB / 0.6247 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6278, allocations: 8 kB / 0.6247 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.6294, allocations: 284.5 kB / 0.6249 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.6298, allocations: 109.8 kB / 0.6251 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004732/0.6303, allocations: 0.5953 MB / 0.6256 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.6307, allocations: 63.42 kB / 0.6257 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.6308, allocations: 48.05 kB / 0.6257 GB, free: 8.023 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002658/0.6311, allocations: 182.3 kB / 0.6259 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6312, allocations: 47.44 kB / 0.626 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.6332, allocations: 1.109 MB / 0.627 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.6332, allocations: 11.97 kB / 0.6271 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6332, allocations: 0 / 0.6271 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6332, allocations: 4 kB / 0.6271 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.6347, allocations: 1.003 MB / 0.628 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6347, allocations: 0 / 0.628 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.6349, allocations: 59.91 kB / 0.6281 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/0.6382, allocations: 0.5316 MB / 0.6286 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.6383, allocations: 11.94 kB / 0.6286 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004224/0.6387, allocations: 0.5992 MB / 0.6292 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.6387, allocations: 4.031 kB / 0.6292 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.6395, allocations: 0.5746 MB / 0.6298 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.6397, allocations: 144.3 kB / 0.6299 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.6398, allocations: 8 kB / 0.6299 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.6402, allocations: 39.97 kB / 0.63 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.6403, allocations: 19.97 kB / 0.63 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.6403, allocations: 23.94 kB / 0.63 GB, free: 3.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000447/0.6408, allocations: 370.8 kB / 0.6304 GB, free: 3.074 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6408, allocations: 0 / 0.6304 GB, free: 3.074 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001026/0.6418, allocations: 335.5 kB / 0.6307 GB, free: 2.746 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00215/0.644, allocations: 1.773 MB / 0.6324 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008451/0.6448, allocations: 383.5 kB / 0.6328 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6449, allocations: 0.875 kB / 0.6328 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.6452, allocations: 175.8 kB / 0.6329 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.6466, allocations: 295.4 kB / 0.6332 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.652, allocations: 5.133 MB / 0.6382 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.6525, allocations: 0.875 MB / 0.6391 GB, free: 9.922 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.6538, allocations: 0.5388 MB / 0.6396 GB, free: 9.387 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.6542, allocations: 215.3 kB / 0.6398 GB, free: 9.176 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6542, allocations: 7.938 kB / 0.6398 GB, free: 9.168 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.6926, allocations: 20.46 MB / 0.6598 GB, free: 5.031 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.6929, allocations: 278.5 kB / 0.6601 GB, free: 4.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.108, allocations: 4 kB / 0.6601 GB, free: 4.66 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat