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.0009695/0.0009696, allocations: 97.66 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009759/0.0009759, allocations: 203.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002116/0.0002116, allocations: 8 kB / 306.7 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1061, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004159/0.1104, allocations: 3.92 MB / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1126, allocations: 1.255 MB / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.1128, allocations: 11.94 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.1131, allocations: 107.2 kB / 363.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.1137, allocations: 347 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1141, allocations: 171.7 kB / 364 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008975/0.115, allocations: 0.7807 MB / 364.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.1154, allocations: 272.3 kB / 365 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.1157, allocations: 370.7 kB / 365.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.1162, allocations: 426.3 kB / 365.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1163, allocations: 60 kB / 365.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1164, allocations: 60 kB / 365.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1166, allocations: 167.4 kB / 366.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1167, allocations: 201.2 kB / 366.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.1174, allocations: 0.8179 MB / 367.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1174, allocations: 0 / 367.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1174, allocations: 0 / 367.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1174, allocations: 0 / 367.1 MB, free: 4.797 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.00194/0.1194, allocations: 1.158 MB / 368.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1194, allocations: 8.031 kB / 368.3 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.1196, allocations: 115.7 kB / 368.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.1198, allocations: 110.8 kB / 368.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.1205, allocations: 495.8 kB / 369 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.1207, allocations: 158.3 kB / 369.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.1208, allocations: 63.91 kB / 369.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.1221, allocations: 0.8588 MB / 370.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1221, allocations: 0 / 370.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.1222, allocations: 28 kB / 370.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1222, allocations: 16 kB / 370.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1234, allocations: 0.5868 MB / 370.7 MB, free: 0.9805 MB / 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.316, allocations: 2.108 MB / 372.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.3181, allocations: 1.017 MB / 373.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.974e-05/0.3182, allocations: 16.61 kB / 373.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.3183, allocations: 48.52 kB / 373.9 MB, free: 18.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.555e-06/0.3183, allocations: 1.375 kB / 373.9 MB, free: 18.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005199/0.3235, allocations: 1.879 MB / 375.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.3237, allocations: 0.8226 MB / 376.6 MB, free: 16.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/0.3244, allocations: 0.5824 MB / 377.2 MB, free: 16.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3245, allocations: 45.39 kB / 377.2 MB, free: 16.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.3248, allocations: 345.3 kB / 377.5 MB, free: 16.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.325, allocations: 252.5 kB / 377.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.325, allocations: 16.12 kB / 377.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3251, allocations: 390.7 kB / 378.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.3256, allocations: 255.4 kB / 378.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.3263, allocations: 0.5378 MB / 379 MB, free: 15.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.327, allocations: 386.4 kB / 379.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.327, allocations: 0 / 379.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002369/0.3293, allocations: 1.108 MB / 380.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.3294, allocations: 90.05 kB / 380.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3294, allocations: 1.312 kB / 380.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007239/0.3302, allocations: 254.9 kB / 380.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/0.3308, allocations: 127.2 kB / 380.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.3378, allocations: 6.593 MB / 387.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.339, allocations: 106.9 kB / 387.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.339, allocations: 27.2 kB / 387.6 MB, free: 8.328 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 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.3394, allocations: 217.2 kB / 387.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.3396, allocations: 84.72 kB / 387.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3398, allocations: 95.72 kB / 388 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.3398, allocations: 8.312 kB / 388 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.3398, allocations: 1.641 kB / 388 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002283/0.3421, allocations: 1.247 MB / 389.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.3462, allocations: 1.884 MB / 391.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3463, allocations: 0 / 391.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.347, allocations: 131.6 kB / 391.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006502/0.3476, allocations: 211.7 kB / 391.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.3477, allocations: 18.8 kB / 391.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006171/0.3539, allocations: 5.132 MB / 396.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3539, allocations: 0 / 396.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.3573, allocations: 1.395 MB / 398.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.3578, allocations: 231.1 kB / 398.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3579, allocations: 23.64 kB / 398.3 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.3585, allocations: 46.52 kB / 398.4 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.3587, allocations: 60.94 kB / 398.4 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.3588, allocations: 18.95 kB / 398.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006337/0.3594, allocations: 421.7 kB / 398.8 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3594, allocations: 1.344 kB / 398.8 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001122/0.3606, allocations: 280.8 kB / 399.1 MB, free: 0.7773 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.003282/0.3639, allocations: 1.956 MB / 401.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.3663, allocations: 1.308 MB / 402.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.3663, allocations: 3.938 kB / 402.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.3676, allocations: 0.7723 MB / 403.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.3686, allocations: 188.5 kB / 403.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.3722, allocations: 2.68 MB / 406 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.3728, allocations: 0.9585 MB / 407 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.3732, allocations: 88.84 kB / 407.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/0.3736, allocations: 282.6 kB / 407.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3736, allocations: 0 / 407.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.4152, allocations: 21.63 MB / 429 MB, free: 5.734 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.4154, allocations: 221 kB / 429.2 MB, free: 5.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/2.987, allocations: 0 / 429.2 MB, free: 5.492 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