Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002276/0.002276, allocations: 197.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2202/0.2202, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 79.86 kB / 480.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3627, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001568/0.3643, allocations: 0.4968 MB / 0.5311 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.3646, allocations: 100.2 kB / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.3647, allocations: 0 / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.3647, allocations: 0 / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.3649, allocations: 20.56 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.763e-05/0.365, allocations: 1.188 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.947e-05/0.365, allocations: 11.67 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.3651, allocations: 5.219 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.3651, allocations: 1.156 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.3652, allocations: 5.188 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3652, allocations: 1.469 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.3653, allocations: 21.41 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.3653, allocations: 9.391 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.3653, allocations: 0 / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.184e-05/0.3654, allocations: 19.55 kB / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3654, allocations: 4 kB / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3654, allocations: 0 / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3654, allocations: 0 / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003906/0.3658, allocations: 325.3 kB / 0.5316 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3659, allocations: 9.719 kB / 0.5316 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.3659, allocations: 30.75 kB / 0.5316 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.366, allocations: 2.125 kB / 0.5316 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3661, allocations: 161.7 kB / 0.5318 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3661, allocations: 4.359 kB / 0.5318 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3661, allocations: 5.625 kB / 0.5318 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3663, allocations: 38.77 kB / 0.5318 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3663, allocations: 3.938 kB / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.3663, allocations: 1.062 kB / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3663, allocations: 0 / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.833e-05/0.3663, allocations: 8.703 kB / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.3665, allocations: 153 kB / 0.532 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.3667, allocations: 40.14 kB / 0.532 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.3668, allocations: 14.3 kB / 0.532 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.3671, allocations: 114.4 kB / 0.5321 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3672, allocations: 34.56 kB / 0.5322 GB, free: 11.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3672, allocations: 0 / 0.5322 GB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001263/0.3684, allocations: 188.4 kB / 0.5323 GB, free: 11.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3685, allocations: 60.69 kB / 0.5324 GB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.3686, allocations: 95 kB / 0.5325 GB, free: 11.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3686, allocations: 27.2 kB / 0.5325 GB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.3687, allocations: 84.27 kB / 0.5326 GB, free: 11.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3687, allocations: 17.64 kB / 0.5326 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3687, allocations: 14.22 kB / 0.5326 GB, free: 11.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3689, allocations: 320.3 kB / 0.5329 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.369, allocations: 14.52 kB / 0.5329 GB, free: 11.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.3691, allocations: 18.95 kB / 0.533 GB, free: 11.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3692, allocations: 53.52 kB / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3692, allocations: 0 / 0.533 GB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002016/0.3695, allocations: 86.34 kB / 0.5331 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3695, allocations: 5.344 kB / 0.5331 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3695, allocations: 0 / 0.5331 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3695, allocations: 1.812 kB / 0.5331 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3696, allocations: 13.11 kB / 0.5331 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3696, allocations: 2.156 kB / 0.5331 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/0.3697, allocations: 14.2 kB / 0.5331 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3697, allocations: 2.031 kB / 0.5331 GB, free: 10.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.382e-05/0.3698, allocations: 111.3 kB / 0.5332 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.3699, allocations: 9.328 kB / 0.5333 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.3702, allocations: 94.8 kB / 0.5333 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3702, allocations: 4 kB / 0.5333 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3702, allocations: 0 / 0.5333 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3702, allocations: 2.312 kB / 0.5333 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.371, allocations: 348.8 kB / 0.5337 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.371, allocations: 3.984 kB / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.3711, allocations: 11.91 kB / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3711, allocations: 8.016 kB / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.3711, allocations: 0 / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3711, allocations: 6.047 kB / 0.5337 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3711, allocations: 4 kB / 0.5337 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3714, allocations: 182 kB / 0.5339 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.3715, allocations: 84.56 kB / 0.534 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3715, allocations: 4 kB / 0.534 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.3716, allocations: 11.52 kB / 0.534 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.3716, allocations: 7.5 kB / 0.534 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3716, allocations: 0 / 0.534 GB, free: 10.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.955e-05/0.3717, allocations: 79.12 kB / 0.5341 GB, free: 10.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3717, allocations: 0 / 0.5341 GB, free: 10.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.3719, allocations: 5.125 kB / 0.5341 GB, free: 10.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00064/0.3725, allocations: 0.7185 MB / 0.5348 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3728, allocations: 44.84 kB / 0.5348 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3728, allocations: 4 kB / 0.5348 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.3729, allocations: 31.03 kB / 0.5348 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3731, allocations: 2.75 kB / 0.5348 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.3737, allocations: 157.7 kB / 0.535 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.374, allocations: 0.6782 MB / 0.5357 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.036e-05/0.3741, allocations: 6.812 kB / 0.5357 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.3741, allocations: 18.05 kB / 0.5357 GB, free: 8.395 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3741, allocations: 0 / 0.5357 GB, free: 8.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.3968, allocations: 1.479 MB / 0.5371 GB, free: 7.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.1, allocations: 9.406 kB / 0.5371 GB, free: 7.555 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)