Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.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.TestShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestShiftSample",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.001511/0.001511, allocations: 172.7 kB / 16.11 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205 MB / 221.9 MB, free: 9.125 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.0007381/0.0007381, allocations: 100.2 kB / 269.9 MB, free: 8.66 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.08604/0.08604, allocations: 12.58 MB / 330.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 12 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.09914, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.001407/0.1006, allocations: 1.408 MB / 442.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005605/0.1012, allocations: 0.4996 MB / 443 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.1012, allocations: 4 kB / 443.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.1013, allocations: 7.938 kB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.67e-05/0.1013, allocations: 7.922 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1015, allocations: 43.91 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.1015, allocations: 63.78 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.386e-05/0.1016, allocations: 31.97 kB / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.1017, allocations: 27.88 kB / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.1017, allocations: 27.8 kB / 443.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1017, allocations: 0 / 443.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/0.1018, allocations: 4 kB / 443.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1018, allocations: 11.91 kB / 443.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.1018, allocations: 31.81 kB / 443.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.651e-05/0.1019, allocations: 59.94 kB / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1019, allocations: 0 / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1019, allocations: 0 / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.806e-06/0.1019, allocations: 0 / 443.4 MB, free: 14.04 MB / 298.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.0003047/0.1022, allocations: 371.2 kB / 443.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1023, allocations: 15.97 kB / 443.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.1023, allocations: 34.75 kB / 443.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.1023, allocations: 12.78 kB / 443.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1025, allocations: 213.4 kB / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1025, allocations: 384 / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1025, allocations: 4.375 kB / 444 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.1028, allocations: 177.9 kB / 444.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.1028, allocations: 0 / 444.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.1028, allocations: 4 kB / 444.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-06/0.1028, allocations: 0 / 444.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.1029, allocations: 39.98 kB / 444.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.1032, allocations: 278.5 kB / 444.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1034, allocations: 185 kB / 444.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.1035, allocations: 58.59 kB / 444.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1035, allocations: 4 kB / 444.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.1036, allocations: 34.56 kB / 444.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.1036, allocations: 0 / 444.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002609/0.1038, allocations: 133.4 kB / 444.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1039, allocations: 106.8 kB / 445 MB, free: 12.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.104, allocations: 130.5 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.104, allocations: 29.83 kB / 445.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.104, allocations: 92.12 kB / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.104, allocations: 7.906 kB / 445.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.104, allocations: 13.72 kB / 445.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.1041, allocations: 326.8 kB / 445.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.1041, allocations: 11.98 kB / 445.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.459e-05/0.1042, allocations: 79.66 kB / 445.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.529e-05/0.1043, allocations: 91.59 kB / 445.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1043, allocations: 0 / 445.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001419/0.1045, allocations: 113.4 kB / 445.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.1045, allocations: 4 kB / 445.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1045, allocations: 4 kB / 445.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.1045, allocations: 3.984 kB / 445.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.1046, allocations: 16 kB / 445.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1046, allocations: 8.219 kB / 445.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.1046, allocations: 15.92 kB / 445.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1047, allocations: 8 kB / 445.9 MB, free: 11.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.1047, allocations: 118 kB / 446 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.1048, allocations: 77.53 kB / 446.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.1048, allocations: 24.23 kB / 446.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1049, allocations: 0 / 446.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1049, allocations: 4.312 kB / 446.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1049, allocations: 0 / 446.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.105, allocations: 181.6 kB / 446.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.105, allocations: 8 kB / 446.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.1051, allocations: 15.98 kB / 446.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1051, allocations: 4 kB / 446.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1051, allocations: 0 / 446.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1051, allocations: 0 / 446.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1051, allocations: 7.938 kB / 446.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.1053, allocations: 205.1 kB / 446.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.1053, allocations: 92.89 kB / 446.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1053, allocations: 11.98 kB / 446.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.1054, allocations: 3.938 kB / 446.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.1054, allocations: 4 kB / 446.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1054, allocations: 4 kB / 446.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.1055, allocations: 107.3 kB / 446.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1055, allocations: 0 / 446.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000204/0.1057, allocations: 11.91 kB / 446.8 MB, free: 10.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003371/0.106, allocations: 0.7413 MB / 447.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1062, allocations: 59.84 kB / 447.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1062, allocations: 0 / 447.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.1062, allocations: 12.56 kB / 447.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1065, allocations: 60.08 kB / 447.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1076, allocations: 1.547 MB / 449.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.1078, allocations: 0.6965 MB / 449.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.817e-05/0.1078, allocations: 8.547 kB / 449.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.1078, allocations: 23.42 kB / 449.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1078, allocations: 0 / 449.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.1188, allocations: 1.886 MB / 451.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.1191, allocations: 226.3 kB / 452 MB, free: 4.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.709, allocations: 0 / 452 MB, free: 4.641 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestShiftSample_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestShiftSample.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)