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.001446/0.001446, allocations: 182.1 kB / 8.049 MB, free: 1.02 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.3 MB / 213.8 MB, free: 13.75 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.001795/0.001795, allocations: 94 kB / 261.8 MB, free: 13.43 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.1113/0.1113, allocations: 12.58 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.286e-05, allocations: 4 kB / 379 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09856, allocations: 50.38 MB / 429.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.5618, allocations: 77.82 MB / 0.4953 GB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.5621, allocations: 56.42 kB / 0.4954 GB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.5757, allocations: 3.113 MB / 0.4984 GB, free: 11.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5758, allocations: 4 kB / 0.4984 GB, free: 11.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.5758, allocations: 7.844 kB / 0.4984 GB, free: 11.26 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.0006117/0.5764, allocations: 418.6 kB / 0.4988 GB, free: 10.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5765, allocations: 7.562 kB / 0.4989 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.5766, allocations: 15.53 kB / 0.4989 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.5769, allocations: 226.2 kB / 0.4991 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5769, allocations: 3.781 kB / 0.4991 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.577, allocations: 11.78 kB / 0.4991 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002913/0.5773, allocations: 97.36 kB / 0.4992 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.578, allocations: 307 kB / 0.4995 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.578, allocations: 0 / 0.4995 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.578, allocations: 0 / 0.4995 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.5781, allocations: 7.594 kB / 0.4995 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.5788, allocations: 427 kB / 0.4999 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.5794, allocations: 212 kB / 0.5001 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.5796, allocations: 108.2 kB / 0.5002 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.5797, allocations: 3.75 kB / 0.5002 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5797, allocations: 45.28 kB / 0.5002 GB, free: 10.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.667e-06/0.5797, allocations: 0 / 0.5002 GB, free: 10.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004946/0.5802, allocations: 171.2 kB / 0.5004 GB, free: 9.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.5803, allocations: 140.2 kB / 0.5005 GB, free: 9.801 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.5805, allocations: 130.1 kB / 0.5007 GB, free: 9.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.5805, allocations: 25.7 kB / 0.5007 GB, free: 9.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.5806, allocations: 117.2 kB / 0.5008 GB, free: 9.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.5806, allocations: 18.69 kB / 0.5008 GB, free: 9.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.5807, allocations: 0 / 0.5008 GB, free: 9.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.5807, allocations: 321.9 kB / 0.5011 GB, free: 9.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.5808, allocations: 26.77 kB / 0.5012 GB, free: 9.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.581, allocations: 137.6 kB / 0.5013 GB, free: 9.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.5811, allocations: 55.28 kB / 0.5013 GB, free: 9.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5811, allocations: 0 / 0.5013 GB, free: 9.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003502/0.5815, allocations: 162 kB / 0.5015 GB, free: 9.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5815, allocations: 7.688 kB / 0.5015 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5815, allocations: 3.844 kB / 0.5015 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.5816, allocations: 4.406 kB / 0.5015 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.5818, allocations: 43.48 kB / 0.5016 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.5819, allocations: 18.16 kB / 0.5016 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.582, allocations: 11.59 kB / 0.5016 GB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.5821, allocations: 18.27 kB / 0.5016 GB, free: 9.016 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.0001111/0.5822, allocations: 112.7 kB / 0.5017 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004502/0.5827, allocations: 168.8 kB / 0.5019 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.5828, allocations: 19.69 kB / 0.5019 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.5828, allocations: 18.75 kB / 0.5019 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.5829, allocations: 6.953 kB / 0.5019 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5829, allocations: 3.844 kB / 0.5019 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5829, allocations: 0 / 0.5019 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.5832, allocations: 176.3 kB / 0.5021 GB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.5832, allocations: 0 / 0.5021 GB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.5836, allocations: 41.91 kB / 0.5021 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.5836, allocations: 3.875 kB / 0.5021 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.5837, allocations: 3.125 kB / 0.5021 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.5837, allocations: 7.969 kB / 0.5021 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5837, allocations: 0 / 0.5021 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.5843, allocations: 395.7 kB / 0.5025 GB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.5844, allocations: 92.66 kB / 0.5026 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.5844, allocations: 0 / 0.5026 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.5847, allocations: 11.34 kB / 0.5026 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.5847, allocations: 0 / 0.5026 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5848, allocations: 7.406 kB / 0.5026 GB, free: 8.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.608e-05/0.5849, allocations: 111.5 kB / 0.5027 GB, free: 8.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5849, allocations: 0 / 0.5027 GB, free: 8.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.5854, allocations: 27.28 kB / 0.5028 GB, free: 8.188 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.0007023/0.5861, allocations: 1.128 MB / 0.5039 GB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003255/0.5865, allocations: 113.5 kB / 0.504 GB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5865, allocations: 3.906 kB / 0.504 GB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.5865, allocations: 13.31 kB / 0.504 GB, free: 7.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.5872, allocations: 97.12 kB / 0.5041 GB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5883, allocations: 308.1 kB / 0.5044 GB, free: 6.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.5886, allocations: 0.7454 MB / 0.5051 GB, free: 6.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.5887, allocations: 22.3 kB / 0.5051 GB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5888, allocations: 44.42 kB / 0.5052 GB, free: 6.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5889, allocations: 0 / 0.5052 GB, free: 6.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/0.7136, allocations: 2.397 MB / 0.5075 GB, free: 5.758 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.7139, allocations: 149.1 kB / 0.5076 GB, free: 5.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.217, allocations: 0 / 0.5076 GB, free: 5.57 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)