Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.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.TestBackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBackSample",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.00216/0.002161, allocations: 181.3 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.161/2.161, allocations: 205.2 MB / 219 MB, free: 9.211 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.001116/0.001116, allocations: 84.53 kB / 267.1 MB, free: 9.273 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.1072/0.1072, allocations: 12.59 MB / 327.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.973e-05/4.995e-05, allocations: 4 kB / 386.1 MB, free: 69.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 50.38 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5937, allocations: 78.17 MB / 0.5026 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.594, allocations: 61 kB / 0.5026 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005488/0.5995, allocations: 1.447 MB / 0.504 GB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5996, allocations: 1.094 kB / 0.5041 GB, free: 11.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.5996, allocations: 0 / 0.5041 GB, free: 11.12 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004298/0.6, allocations: 380.8 kB / 0.5044 GB, free: 10.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.6001, allocations: 7.844 kB / 0.5044 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.6002, allocations: 44.89 kB / 0.5045 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.6002, allocations: 11.75 kB / 0.5045 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.6004, allocations: 198.7 kB / 0.5047 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.6005, allocations: 7.453 kB / 0.5047 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.6005, allocations: 3.844 kB / 0.5047 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.6009, allocations: 168 kB / 0.5048 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.6009, allocations: 0 / 0.5048 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.6009, allocations: 7.25 kB / 0.5048 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.601, allocations: 0 / 0.5048 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.6011, allocations: 33.94 kB / 0.5049 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.6015, allocations: 310.5 kB / 0.5052 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.6019, allocations: 200.4 kB / 0.5054 GB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.602, allocations: 58.75 kB / 0.5054 GB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.602, allocations: 3.969 kB / 0.5054 GB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.6021, allocations: 38.31 kB / 0.5055 GB, free: 9.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.307e-06/0.6021, allocations: 0 / 0.5055 GB, free: 9.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002906/0.6024, allocations: 102.4 kB / 0.5056 GB, free: 9.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.6025, allocations: 135.9 kB / 0.5057 GB, free: 9.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.6026, allocations: 121.6 kB / 0.5058 GB, free: 9.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.6026, allocations: 28.05 kB / 0.5058 GB, free: 9.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.6027, allocations: 94.7 kB / 0.5059 GB, free: 9.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.6027, allocations: 9.922 kB / 0.5059 GB, free: 9.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.6027, allocations: 3.188 kB / 0.5059 GB, free: 9.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.6028, allocations: 325.1 kB / 0.5062 GB, free: 9.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.996e-05/0.6028, allocations: 15.12 kB / 0.5063 GB, free: 9.074 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.6029, allocations: 81.39 kB / 0.5063 GB, free: 8.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.603, allocations: 18.97 kB / 0.5064 GB, free: 8.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.603, allocations: 3.875 kB / 0.5064 GB, free: 8.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000205/0.6032, allocations: 111.8 kB / 0.5065 GB, free: 8.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.6033, allocations: 7.688 kB / 0.5065 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6033, allocations: 352 / 0.5065 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.6033, allocations: 7.875 kB / 0.5065 GB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.6035, allocations: 26.08 kB / 0.5065 GB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.6035, allocations: 3.844 kB / 0.5065 GB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.324e-05/0.6036, allocations: 10.3 kB / 0.5065 GB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.6036, allocations: 11.47 kB / 0.5065 GB, free: 8.914 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.624e-05/0.6037, allocations: 119.8 kB / 0.5066 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6039, allocations: 90.23 kB / 0.5067 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.6039, allocations: 14.02 kB / 0.5067 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.604, allocations: 7.953 kB / 0.5067 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.321e-06/0.604, allocations: 0 / 0.5067 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.604, allocations: 3.875 kB / 0.5068 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.6042, allocations: 186.8 kB / 0.5069 GB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6042, allocations: 0 / 0.5069 GB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.6044, allocations: 25.45 kB / 0.507 GB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6044, allocations: 128 / 0.507 GB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6044, allocations: 4 kB / 0.507 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.6044, allocations: 6.328 kB / 0.507 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6045, allocations: 0 / 0.507 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.6047, allocations: 250.5 kB / 0.5072 GB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.6047, allocations: 88.77 kB / 0.5073 GB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.6048, allocations: 11.66 kB / 0.5073 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6049, allocations: 13.27 kB / 0.5073 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.605, allocations: 0 / 0.5073 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.605, allocations: 3.844 kB / 0.5073 GB, free: 8.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.6051, allocations: 103.5 kB / 0.5074 GB, free: 8.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6051, allocations: 0 / 0.5074 GB, free: 8.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.6054, allocations: 14.59 kB / 0.5074 GB, free: 8.141 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 (11): * Single equations (assignments): 11 * 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.0004491/0.6059, allocations: 0.9792 MB / 0.5084 GB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.6061, allocations: 64.2 kB / 0.5084 GB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6061, allocations: 0 / 0.5084 GB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.6061, allocations: 3.531 kB / 0.5084 GB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.6066, allocations: 55.55 kB / 0.5085 GB, free: 7.184 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.6071, allocations: 183.8 kB / 0.5087 GB, free: 7.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.6073, allocations: 0.7007 MB / 0.5094 GB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.6074, allocations: 6.828 kB / 0.5094 GB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.6074, allocations: 31.88 kB / 0.5094 GB, free: 6.328 MB / 330.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6075, allocations: 0 / 0.5094 GB, free: 6.328 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.6273, allocations: 2.032 MB / 0.5114 GB, free: 5.648 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.6277, allocations: 176.4 kB / 0.5116 GB, free: 5.418 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.059, allocations: 3.938 kB / 0.5116 GB, free: 5.414 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBackSample_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBackSample.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe 2>&1)