Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007696/0.0007696, allocations: 100.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000855/0.000855, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002434, allocations: 4 kB / 306.8 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 51.5 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004838/0.1194, allocations: 4.313 MB / 362.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1222, allocations: 1.196 MB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005283/0.1228, allocations: 11.94 kB / 363.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.1233, allocations: 115.1 kB / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008207/0.1241, allocations: 277.7 kB / 364.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.1246, allocations: 163.8 kB / 364.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.1259, allocations: 1.028 MB / 365.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.1264, allocations: 284.3 kB / 365.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005629/0.1269, allocations: 386.7 kB / 366.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.1275, allocations: 450.2 kB / 366.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1276, allocations: 64 kB / 366.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1278, allocations: 68 kB / 366.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.1279, allocations: 179.3 kB / 366.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.1283, allocations: 205.3 kB / 367 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.1291, allocations: 0.853 MB / 367.9 MB, free: 4.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1291, allocations: 4 kB / 367.9 MB, free: 4.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1291, allocations: 0 / 367.9 MB, free: 4.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1291, allocations: 0 / 367.9 MB, free: 4.344 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00208/0.1312, allocations: 1.172 MB / 369 MB, free: 3.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1313, allocations: 8.031 kB / 369 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.1314, allocations: 119.7 kB / 369.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.1316, allocations: 110.8 kB / 369.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.1323, allocations: 0.5232 MB / 369.8 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.1325, allocations: 154.4 kB / 369.9 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.042e-05/0.1326, allocations: 63.91 kB / 370 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.1341, allocations: 0.8666 MB / 370.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1341, allocations: 0 / 370.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.378e-05/0.1342, allocations: 28 kB / 370.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.1342, allocations: 16 kB / 370.9 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1354, allocations: 0.5868 MB / 371.5 MB, free: 480 kB / 302.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.1926/0.3281, allocations: 2.148 MB / 373.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3298, allocations: 0.9947 MB / 374.6 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.3306, allocations: 376.9 kB / 375 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.26e-05/0.3307, allocations: 19.22 kB / 375 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.3307, allocations: 45.88 kB / 375.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.995e-06/0.3307, allocations: 0 / 375.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004858/0.3356, allocations: 1.877 MB / 376.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/0.3358, allocations: 0.8265 MB / 377.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008629/0.3367, allocations: 0.6395 MB / 378.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.3368, allocations: 41.58 kB / 378.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.3372, allocations: 342.1 kB / 378.8 MB, free: 16.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.3374, allocations: 255.9 kB / 379 MB, free: 16.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3374, allocations: 15.41 kB / 379.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3375, allocations: 391.3 kB / 379.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.3381, allocations: 257 kB / 379.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.3388, allocations: 0.5324 MB / 380.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.3395, allocations: 392.9 kB / 380.6 MB, free: 15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3395, allocations: 1.828 kB / 380.6 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002522/0.342, allocations: 1.104 MB / 381.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.3421, allocations: 88.97 kB / 381.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3421, allocations: 1.438 kB / 381.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007233/0.3429, allocations: 250.8 kB / 382 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.3434, allocations: 135.1 kB / 382.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/0.35, allocations: 6.489 MB / 388.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/0.3509, allocations: 114.6 kB / 388.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.351, allocations: 23.31 kB / 388.8 MB, free: 8.453 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * 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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.3514, allocations: 213.9 kB / 389 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.3515, allocations: 90.83 kB / 389.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.3517, allocations: 90.08 kB / 389.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3517, allocations: 8.047 kB / 389.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.3517, allocations: 5.156 kB / 389.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002232/0.3539, allocations: 1.252 MB / 390.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.3576, allocations: 1.93 MB / 392.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3576, allocations: 3.938 kB / 392.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.3582, allocations: 130.5 kB / 392.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006162/0.3589, allocations: 217.2 kB / 392.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.3589, allocations: 15.59 kB / 392.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.3638, allocations: 5.004 MB / 397.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3638, allocations: 0 / 397.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.3667, allocations: 1.384 MB / 399.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/0.3672, allocations: 246.2 kB / 399.4 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3673, allocations: 22.83 kB / 399.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.3678, allocations: 51.08 kB / 399.4 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.368, allocations: 58.55 kB / 399.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.3681, allocations: 21.27 kB / 399.5 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005781/0.3686, allocations: 449.8 kB / 400 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3687, allocations: 0 / 400 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001137/0.3698, allocations: 285.8 kB / 400.2 MB, free: 0.6953 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003141/0.373, allocations: 1.959 MB / 402.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.3751, allocations: 1.306 MB / 403.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.3752, allocations: 2.594 kB / 403.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.3761, allocations: 0.7145 MB / 404.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.3773, allocations: 216.5 kB / 404.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009088/0.3864, allocations: 5.247 MB / 409.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.387, allocations: 0.944 MB / 410.6 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006219/0.3876, allocations: 102.4 kB / 410.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.388, allocations: 299.3 kB / 411 MB, free: 7.684 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.388, allocations: 0 / 411 MB, free: 7.684 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/0.4323, allocations: 22.82 MB / 433.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.4326, allocations: 223.1 kB / 434 MB, free: 1.035 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.034, allocations: 4 kB / 434.1 MB, free: 1.031 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat