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.001617/0.001615, allocations: 180.8 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.066/2.066, 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.001163/0.001163, allocations: 102.8 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.09777/0.09777, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006204/0.0006204, allocations: 12.88 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09162, allocations: 50.36 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.2337, allocations: 78.26 MB / 0.5085 GB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.2341, allocations: 67.97 kB / 0.5086 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006171/0.2402, allocations: 1.456 MB / 0.51 GB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2403, allocations: 4 kB / 0.51 GB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.2403, allocations: 4 kB / 0.51 GB, free: 10.93 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006082/0.2409, allocations: 386.9 kB / 0.5104 GB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.241, allocations: 8.031 kB / 0.5104 GB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.2411, allocations: 38.56 kB / 0.5104 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.2411, allocations: 7.906 kB / 0.5104 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.2414, allocations: 202.8 kB / 0.5106 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2415, allocations: 7.953 kB / 0.5106 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.2415, allocations: 8 kB / 0.5106 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.242, allocations: 172.4 kB / 0.5108 GB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.242, allocations: 0 / 0.5108 GB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2421, allocations: 4 kB / 0.5108 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2421, allocations: 4 kB / 0.5108 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.2423, allocations: 43.91 kB / 0.5109 GB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.2428, allocations: 307.3 kB / 0.5112 GB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.2433, allocations: 199.7 kB / 0.5113 GB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.2433, allocations: 12 kB / 0.5114 GB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.2434, allocations: 38.5 kB / 0.5114 GB, free: 9.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.705e-06/0.2434, allocations: 0 / 0.5114 GB, free: 9.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005475/0.244, allocations: 141.7 kB / 0.5115 GB, free: 9.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.2441, allocations: 140.5 kB / 0.5117 GB, free: 8.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.2442, allocations: 124.6 kB / 0.5118 GB, free: 8.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2443, allocations: 25.7 kB / 0.5118 GB, free: 8.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.2444, allocations: 96.05 kB / 0.5119 GB, free: 8.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2444, allocations: 7.984 kB / 0.5119 GB, free: 8.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.2444, allocations: 0 / 0.5119 GB, free: 8.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2446, allocations: 322.9 kB / 0.5122 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.2447, allocations: 19.98 kB / 0.5122 GB, free: 8.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.2449, allocations: 81.38 kB / 0.5123 GB, free: 8.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.245, allocations: 39.88 kB / 0.5123 GB, free: 8.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2451, allocations: 7.938 kB / 0.5124 GB, free: 8.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003749/0.2455, allocations: 125.3 kB / 0.5125 GB, free: 8.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2455, allocations: 4 kB / 0.5125 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2455, allocations: 4.344 kB / 0.5125 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2455, allocations: 8 kB / 0.5125 GB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.2457, allocations: 19.98 kB / 0.5125 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.2458, allocations: 7.938 kB / 0.5125 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2459, allocations: 16.16 kB / 0.5125 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.2459, allocations: 4 kB / 0.5125 GB, free: 8 MB / 362.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 () * Number of clocked 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 0.0001707/0.2461, allocations: 125.5 kB / 0.5127 GB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.2463, allocations: 97.7 kB / 0.5127 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.2464, allocations: 20.38 kB / 0.5128 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2464, allocations: 7.938 kB / 0.5128 GB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2465, allocations: 0 / 0.5128 GB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.2465, allocations: 7.984 kB / 0.5128 GB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.2468, allocations: 177.6 kB / 0.513 GB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2468, allocations: 3.953 kB / 0.513 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.247, allocations: 23.92 kB / 0.513 GB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.247, allocations: 4 kB / 0.513 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.247, allocations: 0 / 0.513 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.247, allocations: 4 kB / 0.513 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.247, allocations: 0 / 0.513 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.2475, allocations: 267 kB / 0.5132 GB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.2476, allocations: 88.95 kB / 0.5133 GB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.2476, allocations: 4 kB / 0.5133 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2478, allocations: 11.98 kB / 0.5133 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.2478, allocations: 0 / 0.5133 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2478, allocations: 4 kB / 0.5133 GB, free: 7.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.2479, allocations: 103.2 kB / 0.5134 GB, free: 6.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.2479, allocations: 3.938 kB / 0.5134 GB, free: 6.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003528/0.2483, allocations: 15.95 kB / 0.5135 GB, free: 6.918 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 (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.001981/0.2503, allocations: 0.9965 MB / 0.5144 GB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.2509, allocations: 67.84 kB / 0.5145 GB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.2509, allocations: 4.688 kB / 0.5145 GB, free: 5.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.813e-05/0.251, allocations: 15.98 kB / 0.5145 GB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.2515, allocations: 63.81 kB / 0.5146 GB, free: 5.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.2536, allocations: 2.152 MB / 0.5167 GB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.254, allocations: 0.716 MB / 0.5174 GB, free: 2.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.2541, allocations: 4.562 kB / 0.5174 GB, free: 2.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.2542, allocations: 23.42 kB / 0.5174 GB, free: 2.691 MB / 362.7 MB Notification: Performance of SimCode: time 1.492e-06/0.2542, allocations: 0 / 0.5174 GB, free: 2.691 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.2752, allocations: 2.043 MB / 0.5194 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.2756, allocations: 197.3 kB / 0.5196 GB, free: 428 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/2.767, allocations: 0 / 0.5196 GB, free: 428 kB / 362.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)