Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",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.001298/0.001298, 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.001547/0.001547, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.803/1.803, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.435/0.435, allocations: 43.54 MB / 314.5 MB, free: 8.816 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.0005351/0.0005351, allocations: 15.98 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1442, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002734/0.147, allocations: 1.919 MB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1483, allocations: 0.761 MB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1484, allocations: 7.938 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1485, allocations: 35.77 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.1488, allocations: 103.6 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.149, allocations: 67.91 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.1493, allocations: 211.6 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1495, allocations: 81.12 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1497, allocations: 119.5 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1499, allocations: 127.4 kB / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.1499, allocations: 16 kB / 446.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.043e-05/0.15, allocations: 16 kB / 446.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.15, allocations: 51.75 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.1501, allocations: 73.58 kB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1504, allocations: 259.5 kB / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1504, allocations: 0 / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1504, allocations: 0 / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1504, allocations: 7.938 kB / 446.7 MB, free: 9.109 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001076/0.1515, allocations: 0.5729 MB / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.1515, allocations: 8.031 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.547e-05/0.1516, allocations: 58.55 kB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.1517, allocations: 43.47 kB / 447.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1521, allocations: 250.5 kB / 447.6 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1521, allocations: 24.55 kB / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.1522, allocations: 24 kB / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.1527, allocations: 248.8 kB / 447.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1527, allocations: 4 kB / 447.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.1527, allocations: 8 kB / 447.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.1528, allocations: 8 kB / 447.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.1533, allocations: 242.1 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1547, allocations: 0.8676 MB / 449 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.1556, allocations: 350.8 kB / 449.4 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.1556, allocations: 7.938 kB / 449.4 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1556, allocations: 39.09 kB / 449.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.412e-06/0.1556, allocations: 0 / 449.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004252/0.1599, allocations: 1.254 MB / 450.7 MB, free: 4.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.16, allocations: 59.41 kB / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1602, allocations: 213 kB / 450.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.1602, allocations: 33.7 kB / 451 MB, free: 4.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1604, allocations: 165.1 kB / 451.1 MB, free: 4.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/0.1605, allocations: 106.4 kB / 451.2 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.1605, allocations: 7.938 kB / 451.2 MB, free: 4.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1606, allocations: 334.8 kB / 451.6 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1609, allocations: 103.8 kB / 451.7 MB, free: 3.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.1611, allocations: 125.8 kB / 451.8 MB, free: 3.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1614, allocations: 113.3 kB / 451.9 MB, free: 3.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1614, allocations: 4 kB / 451.9 MB, free: 3.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001715/0.1631, allocations: 0.5445 MB / 452.4 MB, free: 3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1631, allocations: 8 kB / 452.5 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1631, allocations: 0 / 452.5 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.1647, allocations: 315.1 kB / 452.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1649, allocations: 27.98 kB / 452.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2801/0.4449, allocations: 6.392 MB / 459.2 MB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.4452, allocations: 31.17 kB / 459.2 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.4453, allocations: 15.98 kB / 459.2 MB, free: 42.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.4454, allocations: 142.8 kB / 459.4 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.4455, allocations: 26.38 kB / 459.4 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.4472, allocations: 0.5594 MB / 460 MB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4472, allocations: 3.125 kB / 460 MB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.4472, allocations: 0 / 460 MB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.4472, allocations: 3.328 kB / 460 MB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.4476, allocations: 356.2 kB / 460.3 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4476, allocations: 0 / 460.3 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.4477, allocations: 26.45 kB / 460.3 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.4491, allocations: 316.7 kB / 460.6 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.4491, allocations: 5.688 kB / 460.6 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.4546, allocations: 6.446 MB / 467.1 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4547, allocations: 0 / 467.1 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.4563, allocations: 0.6304 MB / 467.7 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.4563, allocations: 103.7 kB / 467.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.4564, allocations: 7.438 kB / 467.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.4566, allocations: 21.3 kB / 467.9 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.4567, allocations: 32.53 kB / 467.9 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.4567, allocations: 8.188 kB / 467.9 MB, free: 36.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.4569, allocations: 161.7 kB / 468 MB, free: 36.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4569, allocations: 3.938 kB / 468.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005726/0.4575, allocations: 117.4 kB / 468.2 MB, free: 36.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/0.4593, allocations: 1.164 MB / 469.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009789/0.4603, allocations: 0.7509 MB / 470.1 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4603, allocations: 2.812 kB / 470.1 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.4613, allocations: 0.7229 MB / 470.8 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.4616, allocations: 23.58 kB / 470.8 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.4651, allocations: 1.944 MB / 472.8 MB, free: 34.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.4654, allocations: 0.7761 MB / 473.6 MB, free: 33.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.156e-05/0.4655, allocations: 15.11 kB / 473.6 MB, free: 33.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4656, allocations: 75.89 kB / 473.6 MB, free: 33.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4656, allocations: 0 / 473.6 MB, free: 33.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.4893, allocations: 9.621 MB / 483.3 MB, free: 32.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.4895, allocations: 207.5 kB / 483.5 MB, free: 32.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.728, allocations: 5.312 kB / 483.5 MB, free: 32.41 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat