Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.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.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247 MB, free: 10.45 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.2315/0.2315, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.002208/0.002208, allocations: 79.86 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3149, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002744/0.3177, allocations: 1.696 MB / 0.5322 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.3187, allocations: 0.587 MB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.3188, allocations: 1.344 kB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.775e-05/0.3188, allocations: 12.78 kB / 0.5328 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.3189, allocations: 22.72 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3192, allocations: 64.19 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3194, allocations: 112.3 kB / 0.533 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3195, allocations: 39.59 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.3196, allocations: 56.06 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3198, allocations: 52 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.3198, allocations: 11.16 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.3199, allocations: 22.69 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.3199, allocations: 24.05 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.32, allocations: 51.84 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3202, allocations: 122.6 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3202, allocations: 1.25 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3202, allocations: 0 / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3202, allocations: 0 / 0.5334 GB, free: 11.17 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006919/0.3209, allocations: 431.9 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.321, allocations: 14.62 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.321, allocations: 36.62 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.3212, allocations: 24.28 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3215, allocations: 214 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3215, allocations: 5.156 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3215, allocations: 17.89 kB / 0.5341 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3217, allocations: 94.59 kB / 0.5342 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3218, allocations: 4 kB / 0.5342 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3218, allocations: 5.375 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3218, allocations: 2.656 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.3219, allocations: 54.86 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.3225, allocations: 382.2 kB / 0.5346 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3227, allocations: 63.3 kB / 0.5347 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3228, allocations: 25.27 kB / 0.5347 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3228, allocations: 1.375 kB / 0.5347 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.323, allocations: 98.78 kB / 0.5348 GB, free: 9.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.323, allocations: 3.938 kB / 0.5348 GB, free: 9.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003354/0.3233, allocations: 135.2 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.3234, allocations: 56.77 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3235, allocations: 142.7 kB / 0.5351 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3236, allocations: 31.02 kB / 0.5351 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.3237, allocations: 116.2 kB / 0.5353 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3237, allocations: 23.97 kB / 0.5353 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.3238, allocations: 39.27 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3239, allocations: 325.6 kB / 0.5356 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.324, allocations: 23.11 kB / 0.5357 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.3241, allocations: 84.33 kB / 0.5357 GB, free: 8.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3243, allocations: 120.7 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3243, allocations: 8 kB / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002556/0.3246, allocations: 145.8 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3246, allocations: 5.5 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3246, allocations: 6.688 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3246, allocations: 2.75 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3247, allocations: 21.73 kB / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.3247, allocations: 2.844 kB / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.3248, allocations: 21.28 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3248, allocations: 5.281 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001162/0.325, allocations: 137.6 kB / 0.5362 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.325, allocations: 13.3 kB / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.325, allocations: 11.22 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.3251, allocations: 5.359 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3251, allocations: 0 / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3251, allocations: 0 / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3253, allocations: 207.4 kB / 0.5364 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3253, allocations: 1.344 kB / 0.5364 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.3254, allocations: 16.36 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3254, allocations: 1.062 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3254, allocations: 1.188 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3254, allocations: 5.594 kB / 0.5364 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3254, allocations: 0 / 0.5364 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.3258, allocations: 177 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3258, allocations: 87.59 kB / 0.5367 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3259, allocations: 5.312 kB / 0.5367 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.3259, allocations: 6.547 kB / 0.5367 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.326, allocations: 7.219 kB / 0.5367 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.326, allocations: 7.234 kB / 0.5367 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.095e-05/0.3261, allocations: 112.9 kB / 0.5368 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3261, allocations: 0 / 0.5368 GB, free: 7.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3263, allocations: 19.78 kB / 0.5368 GB, free: 7.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006758/0.327, allocations: 0.7059 MB / 0.5375 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3272, allocations: 77.09 kB / 0.5376 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3272, allocations: 0.5 kB / 0.5376 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.3273, allocations: 40.98 kB / 0.5376 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.3275, allocations: 13.55 kB / 0.5377 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3294, allocations: 1.702 MB / 0.5393 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3298, allocations: 0.7057 MB / 0.54 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.3299, allocations: 19.28 kB / 0.54 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.33, allocations: 33.39 kB / 0.5401 GB, free: 4.957 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.33, allocations: 0 / 0.5401 GB, free: 4.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.3545, allocations: 2.463 MB / 0.5425 GB, free: 3.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.499, allocations: 8.844 kB / 0.5425 GB, free: 3.664 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)