Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 175.6 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009089/0.000909, allocations: 90.23 kB / 270.3 MB, free: 13.38 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08087/0.08087, allocations: 12.59 MB / 331.1 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004416, allocations: 16.72 kB / 392.1 MB, free: 54.8 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 50.37 MB / 442.5 MB, free: 10.86 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.002464/0.1067, allocations: 1.456 MB / 444 MB, free: 9.387 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.1077, allocations: 0.5194 MB / 444.5 MB, free: 8.859 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1079, allocations: 4 kB / 444.5 MB, free: 8.855 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.108, allocations: 11.86 kB / 444.5 MB, free: 8.844 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.1081, allocations: 7.922 kB / 444.5 MB, free: 8.836 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.1086, allocations: 57.88 kB / 444.6 MB, free: 8.781 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1089, allocations: 103.6 kB / 444.7 MB, free: 8.68 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.1091, allocations: 81.27 kB / 444.7 MB, free: 8.598 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1093, allocations: 35.86 kB / 444.8 MB, free: 8.562 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1094, allocations: 55.64 kB / 444.8 MB, free: 8.508 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1094, allocations: 0 / 444.8 MB, free: 8.508 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.356e-05/0.1095, allocations: 4 kB / 444.8 MB, free: 8.504 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.1095, allocations: 27.91 kB / 444.9 MB, free: 8.477 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.1096, allocations: 41.64 kB / 444.9 MB, free: 8.43 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1098, allocations: 84.69 kB / 445 MB, free: 8.348 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1098, allocations: 0 / 445 MB, free: 8.348 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1098, allocations: 3.938 kB / 445 MB, free: 8.344 MB / 282.8 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1098, allocations: 0 / 445 MB, free: 8.344 MB / 282.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008184/0.1106, allocations: 430.7 kB / 445.4 MB, free: 7.875 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.1107, allocations: 8.031 kB / 445.4 MB, free: 7.867 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.856e-05/0.1108, allocations: 50.55 kB / 445.5 MB, free: 7.809 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.1109, allocations: 15.81 kB / 445.5 MB, free: 7.793 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.1112, allocations: 226.7 kB / 445.7 MB, free: 7.531 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1112, allocations: 12 kB / 445.7 MB, free: 7.52 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1112, allocations: 12 kB / 445.7 MB, free: 7.508 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.1119, allocations: 343.3 kB / 446.1 MB, free: 7.152 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1119, allocations: 0 / 446.1 MB, free: 7.152 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.112, allocations: 4 kB / 446.1 MB, free: 7.148 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.112, allocations: 4 kB / 446.1 MB, free: 7.145 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.1123, allocations: 127.8 kB / 446.2 MB, free: 7.02 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.1129, allocations: 466.5 kB / 446.6 MB, free: 6.504 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.1133, allocations: 250.3 kB / 446.9 MB, free: 6.223 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.1135, allocations: 139.3 kB / 447 MB, free: 6.074 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1136, allocations: 0 / 447 MB, free: 6.074 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1136, allocations: 42.56 kB / 447.1 MB, free: 6.023 MB / 282.8 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.1136, allocations: 0 / 447.1 MB, free: 6.023 MB / 282.8 MB Notification: Performance of matching and sorting (n=18): time 0.0005417/0.1142, allocations: 277.6 kB / 447.3 MB, free: 5.746 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.1142, allocations: 138.8 kB / 447.5 MB, free: 5.582 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.1143, allocations: 158.2 kB / 447.6 MB, free: 5.418 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1144, allocations: 25.7 kB / 447.7 MB, free: 5.387 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1144, allocations: 111.9 kB / 447.8 MB, free: 5.273 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1144, allocations: 15.89 kB / 447.8 MB, free: 5.258 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.1145, allocations: 4 kB / 447.8 MB, free: 5.254 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.1145, allocations: 326.9 kB / 448.1 MB, free: 4.926 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.1146, allocations: 43.91 kB / 448.1 MB, free: 4.883 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1147, allocations: 151.4 kB / 448.3 MB, free: 4.68 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1149, allocations: 75.89 kB / 448.4 MB, free: 4.605 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1149, allocations: 4 kB / 448.4 MB, free: 4.602 MB / 282.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003084/0.1152, allocations: 213 kB / 448.6 MB, free: 4.387 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1152, allocations: 4 kB / 448.6 MB, free: 4.383 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1152, allocations: 4 kB / 448.6 MB, free: 4.379 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1153, allocations: 11.94 kB / 448.6 MB, free: 4.367 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1154, allocations: 39.92 kB / 448.6 MB, free: 4.328 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1154, allocations: 12.52 kB / 448.6 MB, free: 4.316 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.1155, allocations: 19.84 kB / 448.7 MB, free: 4.297 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1155, allocations: 12 kB / 448.7 MB, free: 4.285 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1156, allocations: 149.5 kB / 448.8 MB, free: 4.129 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.1158, allocations: 165.4 kB / 449 MB, free: 3.961 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.1159, allocations: 20.84 kB / 449 MB, free: 3.938 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.1159, allocations: 7.984 kB / 449 MB, free: 3.93 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1159, allocations: 0 / 449 MB, free: 3.93 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1159, allocations: 4.031 kB / 449 MB, free: 3.926 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1161, allocations: 209.7 kB / 449.2 MB, free: 3.672 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1161, allocations: 0 / 449.2 MB, free: 3.672 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1163, allocations: 39.91 kB / 449.3 MB, free: 3.633 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1163, allocations: 7.938 kB / 449.3 MB, free: 3.625 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1163, allocations: 11.94 kB / 449.3 MB, free: 3.613 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1163, allocations: 4 kB / 449.3 MB, free: 3.609 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1163, allocations: 0 / 449.3 MB, free: 3.609 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.1167, allocations: 394.8 kB / 449.7 MB, free: 3.203 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.1167, allocations: 92.89 kB / 449.8 MB, free: 3.094 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1167, allocations: 8 kB / 449.8 MB, free: 3.086 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1169, allocations: 19.92 kB / 449.8 MB, free: 3.066 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.1169, allocations: 8 kB / 449.8 MB, free: 3.059 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.117, allocations: 4 kB / 449.8 MB, free: 3.055 MB / 282.8 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.117, allocations: 111.2 kB / 449.9 MB, free: 2.945 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.117, allocations: 0 / 449.9 MB, free: 2.945 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002976/0.1173, allocations: 23.91 kB / 449.9 MB, free: 2.922 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005526/0.1179, allocations: 0.928 MB / 450.9 MB, free: 1.957 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.1182, allocations: 148.8 kB / 451 MB, free: 1.812 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1182, allocations: 0 / 451 MB, free: 1.812 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.1183, allocations: 24.05 kB / 451 MB, free: 1.789 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.1188, allocations: 107.9 kB / 451.1 MB, free: 1.684 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1201, allocations: 1.052 MB / 452.2 MB, free: 0.5273 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.1204, allocations: 0.7438 MB / 452.9 MB, free: 15.76 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 6.544e-05/0.1204, allocations: 17.08 kB / 452.9 MB, free: 15.74 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.1205, allocations: 43.36 kB / 453 MB, free: 15.7 MB / 298.8 MB Notification: Performance of SimCode: time 2.31e-07/0.1205, allocations: 0 / 453 MB, free: 15.7 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.134, allocations: 2.753 MB / 455.7 MB, free: 12.95 MB / 298.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.1342, allocations: 203.7 kB / 455.9 MB, free: 12.71 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.723, allocations: 0 / 455.9 MB, free: 12.71 MB / 298.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)