Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008584/0.0008584, allocations: 100.4 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008656/0.0008657, allocations: 192.3 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002695, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 63.47 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.02882/0.1462, allocations: 31.47 MB / 0.5011 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2875/0.4337, allocations: 18.11 MB / 0.5188 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.436, allocations: 68.45 kB / 0.5188 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.4383, allocations: 0.5788 MB / 0.5194 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008369/0.4467, allocations: 2.381 MB / 0.5217 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01398/0.4607, allocations: 4.047 MB / 0.5257 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009378/0.4701, allocations: 5.438 MB / 0.531 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.4727, allocations: 1.083 MB / 0.532 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004732/0.4774, allocations: 1.526 MB / 0.5335 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.4813, allocations: 1.738 MB / 0.5352 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000561/0.4818, allocations: 93.84 kB / 0.5353 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006736/0.4886, allocations: 2.429 MB / 0.5377 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.4899, allocations: 0.581 MB / 0.5383 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009923/0.4909, allocations: 345.6 kB / 0.5386 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.4961, allocations: 2.959 MB / 0.5415 GB, free: 5.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4962, allocations: 0 / 0.5415 GB, free: 5.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4962, allocations: 0 / 0.5415 GB, free: 5.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-05/0.4962, allocations: 0 / 0.5415 GB, free: 5.773 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004874/0.5011, allocations: 2.157 MB / 0.5436 GB, free: 4.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5012, allocations: 9.062 kB / 0.5436 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003134/0.5015, allocations: 187.1 kB / 0.5438 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005116/0.502, allocations: 208.5 kB / 0.544 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.5036, allocations: 1.073 MB / 0.545 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.5038, allocations: 185.8 kB / 0.5452 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.5039, allocations: 116.8 kB / 0.5453 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.5067, allocations: 1.927 MB / 0.5472 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.5067, allocations: 6.75 kB / 0.5472 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.5068, allocations: 48.31 kB / 0.5472 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.507, allocations: 123.8 kB / 0.5474 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.5098, allocations: 1.946 MB / 0.5493 GB, free: 0.7148 MB / 382.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.01169/0.5215, allocations: 7.306 MB / 0.5564 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.5238, allocations: 1.397 MB / 0.5578 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.5251, allocations: 0.8441 MB / 0.5586 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006663/0.5318, allocations: 4.521 MB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.5319, allocations: 59.55 kB / 0.5631 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009516/0.5328, allocations: 226.4 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=118): time 3.386e-06/0.5329, allocations: 0 / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01968/0.5525, allocations: 6.645 MB / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.5528, allocations: 218.9 kB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.5549, allocations: 1.367 MB / 0.5713 GB, free: 9.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.5551, allocations: 54.36 kB / 0.5714 GB, free: 9.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/0.5559, allocations: 0.6608 MB / 0.572 GB, free: 8.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004686/0.5563, allocations: 460.9 kB / 0.5724 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.5564, allocations: 32 kB / 0.5725 GB, free: 8.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.5566, allocations: 369.9 kB / 0.5728 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.558, allocations: 0.812 MB / 0.5736 GB, free: 7.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.5597, allocations: 1.156 MB / 0.5747 GB, free: 5.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.5613, allocations: 0.9382 MB / 0.5757 GB, free: 4.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.5613, allocations: 4 kB / 0.5757 GB, free: 4.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004601/0.5659, allocations: 2.567 MB / 0.5782 GB, free: 2.199 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002344/0.5662, allocations: 337.8 kB / 0.5785 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.5662, allocations: 12 kB / 0.5785 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008368/0.5746, allocations: 1.704 MB / 0.5802 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.5762, allocations: 340.4 kB / 0.5805 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.5791, allocations: 1.767 MB / 0.5822 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.5807, allocations: 107.7 kB / 0.5823 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.5809, allocations: 75.95 kB / 0.5824 GB, free: 13.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5809, allocations: 4 kB / 0.5824 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003934/0.5849, allocations: 2.258 MB / 0.5846 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.5849, allocations: 8 kB / 0.5846 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/0.5897, allocations: 1.07 MB / 0.5857 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.5912, allocations: 355.5 kB / 0.586 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.5934, allocations: 1.481 MB / 0.5874 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.5948, allocations: 99.78 kB / 0.5875 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.595, allocations: 67.97 kB / 0.5876 GB, free: 8.371 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 {10 24} Notification: Performance of prepare postOptimizeDAE: time 0.0009175/0.596, allocations: 0.4888 MB / 0.5881 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.5963, allocations: 166 kB / 0.5882 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.6009, allocations: 2.565 MB / 0.5907 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/0.6009, allocations: 16 kB / 0.5908 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6009, allocations: 4 kB / 0.5908 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.601, allocations: 11.91 kB / 0.5908 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006652/0.6076, allocations: 4.201 MB / 0.5949 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.6077, allocations: 0 / 0.5949 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6087, allocations: 227.7 kB / 0.5951 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004741/0.6135, allocations: 1.318 MB / 0.5964 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.6137, allocations: 43.97 kB / 0.5964 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.6162, allocations: 1.796 MB / 0.5982 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6163, allocations: 7.984 kB / 0.5982 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.6218, allocations: 3.468 MB / 0.6016 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009896/0.6228, allocations: 462.6 kB / 0.602 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.6231, allocations: 32 kB / 0.602 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.6242, allocations: 99.83 kB / 0.6021 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.6244, allocations: 125.1 kB / 0.6023 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.6246, allocations: 55.97 kB / 0.6023 GB, free: 9.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001328/0.6259, allocations: 0.9148 MB / 0.6032 GB, free: 8.281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6259, allocations: 0 / 0.6032 GB, free: 8.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004342/0.6303, allocations: 1.328 MB / 0.6045 GB, free: 6.953 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.01162/0.6419, allocations: 4.892 MB / 0.6093 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007157/0.6491, allocations: 3.247 MB / 0.6125 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.6491, allocations: 4.359 kB / 0.6125 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.6513, allocations: 1.049 MB / 0.6135 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/0.655, allocations: 0.7351 MB / 0.6142 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/0.6757, allocations: 12.35 MB / 0.6263 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009023/0.6766, allocations: 1.384 MB / 0.6276 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002237/0.6788, allocations: 0.6437 MB / 0.6282 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008638/0.6797, allocations: 0.632 MB / 0.6289 GB, free: 13.47 MB / 478.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6797, allocations: 0 / 0.6289 GB, free: 13.47 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/0.8227, allocations: 63.28 MB / 0.6907 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/0.823, allocations: 228.2 kB / 0.6909 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.652/4.475, allocations: 0 / 0.6909 GB, free: 14.35 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat