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.002545/0.002544, allocations: 181.1 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.2 MB / 219 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 89 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1127/0.1127, allocations: 12.58 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.727e-05/4.74e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.143, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5129/0.656, allocations: 78.48 MB / 0.5029 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.6563, allocations: 62.55 kB / 0.5029 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01362/0.67, allocations: 3.143 MB / 0.506 GB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.67, allocations: 0 / 0.506 GB, free: 11.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.6701, allocations: 3.844 kB / 0.506 GB, free: 11.38 MB / 330.7 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.0006185/0.6707, allocations: 416.9 kB / 0.5064 GB, free: 10.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.6708, allocations: 11.7 kB / 0.5064 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.6708, allocations: 44.41 kB / 0.5065 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.6709, allocations: 15.69 kB / 0.5065 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.6712, allocations: 232.1 kB / 0.5067 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.6713, allocations: 14.88 kB / 0.5067 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.6713, allocations: 11 kB / 0.5067 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/0.6721, allocations: 327.5 kB / 0.507 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6721, allocations: 0 / 0.507 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.6721, allocations: 0 / 0.507 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.6722, allocations: 3.875 kB / 0.507 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.6724, allocations: 100.9 kB / 0.5071 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.6733, allocations: 463.3 kB / 0.5076 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.6738, allocations: 230 kB / 0.5078 GB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.6741, allocations: 114.6 kB / 0.5079 GB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.6741, allocations: 3.828 kB / 0.5079 GB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6742, allocations: 46.02 kB / 0.508 GB, free: 9.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.166e-06/0.6742, allocations: 0 / 0.508 GB, free: 9.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005317/0.6747, allocations: 183.8 kB / 0.5081 GB, free: 9.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.6748, allocations: 143.7 kB / 0.5083 GB, free: 9.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.675, allocations: 137.4 kB / 0.5084 GB, free: 9.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.675, allocations: 29.27 kB / 0.5084 GB, free: 9.496 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.6751, allocations: 109.6 kB / 0.5085 GB, free: 9.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.6751, allocations: 18.3 kB / 0.5086 GB, free: 9.391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.6751, allocations: 3.656 kB / 0.5086 GB, free: 9.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.6752, allocations: 325.8 kB / 0.5089 GB, free: 9.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.6753, allocations: 30.45 kB / 0.5089 GB, free: 9.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.6755, allocations: 141.9 kB / 0.509 GB, free: 8.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.6756, allocations: 60.77 kB / 0.5091 GB, free: 8.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6756, allocations: 0 / 0.5091 GB, free: 8.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003786/0.676, allocations: 180.3 kB / 0.5093 GB, free: 8.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.676, allocations: 7.656 kB / 0.5093 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6761, allocations: 3.875 kB / 0.5093 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/0.6761, allocations: 12.34 kB / 0.5093 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.6764, allocations: 46.48 kB / 0.5093 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.6764, allocations: 7.812 kB / 0.5093 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.6766, allocations: 11.7 kB / 0.5093 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.6766, allocations: 7.688 kB / 0.5094 GB, free: 8.789 MB / 330.7 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 () * 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.000101/0.6767, allocations: 123.6 kB / 0.5095 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/0.6771, allocations: 165.8 kB / 0.5096 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.748e-05/0.6772, allocations: 22.05 kB / 0.5096 GB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6773, allocations: 7.984 kB / 0.5097 GB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6773, allocations: 3.812 kB / 0.5097 GB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.6773, allocations: 0 / 0.5097 GB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.6776, allocations: 210.7 kB / 0.5099 GB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6776, allocations: 0 / 0.5099 GB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.678, allocations: 45.34 kB / 0.5099 GB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.678, allocations: 3.906 kB / 0.5099 GB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.678, allocations: 3.938 kB / 0.5099 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.678, allocations: 3.906 kB / 0.5099 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.6781, allocations: 3.953 kB / 0.5099 GB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.6785, allocations: 404.5 kB / 0.5103 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.6786, allocations: 88.7 kB / 0.5104 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.6786, allocations: 14.98 kB / 0.5104 GB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.6789, allocations: 7.781 kB / 0.5104 GB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.679, allocations: 19.36 kB / 0.5104 GB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.679, allocations: 3.688 kB / 0.5104 GB, free: 7.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.813e-05/0.6791, allocations: 110 kB / 0.5105 GB, free: 7.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6791, allocations: 3.75 kB / 0.5105 GB, free: 7.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004352/0.6795, allocations: 22.81 kB / 0.5106 GB, free: 7.844 MB / 330.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007286/0.6803, allocations: 1.143 MB / 0.5117 GB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.6807, allocations: 129.5 kB / 0.5118 GB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.6807, allocations: 0 / 0.5118 GB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.6808, allocations: 3.812 kB / 0.5118 GB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.6814, allocations: 111 kB / 0.5119 GB, free: 6.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6825, allocations: 315.2 kB / 0.5122 GB, free: 6.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.6828, allocations: 0.7484 MB / 0.5129 GB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.6829, allocations: 16.89 kB / 0.513 GB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.683, allocations: 40.33 kB / 0.513 GB, free: 5.789 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.683, allocations: 0 / 0.513 GB, free: 5.789 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.7079, allocations: 2.751 MB / 0.5157 GB, free: 4.406 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.7083, allocations: 173.1 kB / 0.5158 GB, free: 4.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.267, allocations: 3.938 kB / 0.5159 GB, free: 4.176 MB / 330.7 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)