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.001531/0.001531, allocations: 179.9 kB / 15.8 MB, free: 6.34 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.074/2.074, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001148/0.001148, allocations: 98.83 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1018/0.1018, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006073/0.0006076, allocations: 13.06 kB / 392.1 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09846, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.2428, allocations: 78.57 MB / 0.5088 GB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.2431, allocations: 63.97 kB / 0.5089 GB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.2574, allocations: 3.145 MB / 0.512 GB, free: 8.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2575, allocations: 0 / 0.512 GB, free: 8.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.2575, allocations: 4 kB / 0.512 GB, free: 8.938 MB / 362.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.0007296/0.2583, allocations: 430.7 kB / 0.5124 GB, free: 8.469 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2583, allocations: 8.031 kB / 0.5124 GB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.2584, allocations: 50.55 kB / 0.5124 GB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.2585, allocations: 19.91 kB / 0.5125 GB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.2589, allocations: 238.6 kB / 0.5127 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2589, allocations: 8 kB / 0.5127 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.2589, allocations: 12 kB / 0.5127 GB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/0.2599, allocations: 343.2 kB / 0.513 GB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2599, allocations: 0 / 0.513 GB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.2599, allocations: 8 kB / 0.513 GB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2599, allocations: 4 kB / 0.513 GB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.2605, allocations: 127.8 kB / 0.5132 GB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.2613, allocations: 470.4 kB / 0.5136 GB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.262, allocations: 235.7 kB / 0.5138 GB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.2621, allocations: 8.062 kB / 0.5138 GB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.2621, allocations: 30.56 kB / 0.5139 GB, free: 6.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.765e-06/0.2621, allocations: 4 kB / 0.5139 GB, free: 6.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009848/0.2631, allocations: 279.2 kB / 0.5141 GB, free: 6.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.2633, allocations: 148.9 kB / 0.5143 GB, free: 6.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2634, allocations: 133.4 kB / 0.5144 GB, free: 6.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2635, allocations: 29.7 kB / 0.5144 GB, free: 6.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.2636, allocations: 112 kB / 0.5145 GB, free: 6.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.2636, allocations: 15.92 kB / 0.5146 GB, free: 5.996 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.2636, allocations: 4 kB / 0.5146 GB, free: 5.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2638, allocations: 322.8 kB / 0.5149 GB, free: 5.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.264, allocations: 47.88 kB / 0.5149 GB, free: 5.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.2643, allocations: 154.8 kB / 0.5151 GB, free: 5.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.2646, allocations: 71.89 kB / 0.5151 GB, free: 5.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2646, allocations: 3.938 kB / 0.5151 GB, free: 5.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000592/0.2652, allocations: 209.6 kB / 0.5153 GB, free: 5.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2652, allocations: 8 kB / 0.5153 GB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2652, allocations: 4 kB / 0.5154 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2653, allocations: 7.953 kB / 0.5154 GB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.2655, allocations: 47.91 kB / 0.5154 GB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.2656, allocations: 4 kB / 0.5154 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.2657, allocations: 15.91 kB / 0.5154 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.2658, allocations: 8 kB / 0.5154 GB, free: 5.039 MB / 362.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 () * 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.0001895/0.266, allocations: 165.5 kB / 0.5156 GB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.2664, allocations: 165.6 kB / 0.5157 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.383e-05/0.2665, allocations: 24.83 kB / 0.5158 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.2665, allocations: 0 / 0.5158 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.2665, allocations: 7.953 kB / 0.5158 GB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2665, allocations: 0 / 0.5158 GB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.2669, allocations: 213.4 kB / 0.516 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2669, allocations: 0 / 0.516 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.2672, allocations: 43.94 kB / 0.516 GB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.2672, allocations: 4 kB / 0.516 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2673, allocations: 4 kB / 0.516 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2673, allocations: 4 kB / 0.516 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2673, allocations: 0 / 0.516 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.268, allocations: 425.4 kB / 0.5164 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.2681, allocations: 96.81 kB / 0.5165 GB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.2681, allocations: 8 kB / 0.5165 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.2684, allocations: 11.98 kB / 0.5166 GB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.2684, allocations: 8 kB / 0.5166 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.2685, allocations: 4 kB / 0.5166 GB, free: 3.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.2686, allocations: 111.2 kB / 0.5167 GB, free: 3.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2686, allocations: 0 / 0.5167 GB, free: 3.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004407/0.2691, allocations: 20 kB / 0.5167 GB, free: 3.621 MB / 362.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 () * Number of clocked 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.001164/0.2702, allocations: 1.17 MB / 0.5178 GB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.2708, allocations: 156.7 kB / 0.518 GB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2709, allocations: 0 / 0.518 GB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.271, allocations: 23.97 kB / 0.518 GB, free: 2.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.2716, allocations: 109.5 kB / 0.5181 GB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2726/0.5443, allocations: 3.564 MB / 0.5216 GB, free: 84.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.5446, allocations: 0.7456 MB / 0.5223 GB, free: 83.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.5447, allocations: 18 kB / 0.5223 GB, free: 83.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5449, allocations: 42.52 kB / 0.5224 GB, free: 83.72 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5449, allocations: 0 / 0.5224 GB, free: 83.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.5684, allocations: 2.747 MB / 0.5251 GB, free: 83.46 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.5687, allocations: 200 kB / 0.5252 GB, free: 83.22 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.94, allocations: 0 / 0.5252 GB, free: 83.22 MB / 362.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)