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.002267/0.002272, allocations: 189.1 kB / 15.81 MB, free: 6.027 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.333/2.333, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001213/0.001213, allocations: 86.86 kB / 270.3 MB, free: 13.35 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.1006/0.1006, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005716/0.0005716, allocations: 13.31 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1046, allocations: 50.37 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.002228/0.1069, allocations: 1.461 MB / 443.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.108, allocations: 0.5 MB / 444.4 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1081, allocations: 3.938 kB / 444.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1083, allocations: 15.92 kB / 444.5 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.172e-05/0.1084, allocations: 19.89 kB / 444.5 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1088, allocations: 49.89 kB / 444.5 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1089, allocations: 79.77 kB / 444.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.1091, allocations: 77.3 kB / 444.7 MB, free: 8.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1093, allocations: 39.83 kB / 444.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.805e-05/0.1094, allocations: 39.78 kB / 444.8 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1094, allocations: 4 kB / 444.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.341e-05/0.1094, allocations: 7.938 kB / 444.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.1095, allocations: 19.92 kB / 444.8 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.1096, allocations: 49.64 kB / 444.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1097, allocations: 84.67 kB / 444.9 MB, free: 8.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1097, allocations: 3.938 kB / 444.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1097, allocations: 4 kB / 444.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1097, allocations: 0 / 444.9 MB, free: 8.34 MB / 282.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.000848/0.1106, allocations: 422.8 kB / 445.3 MB, free: 7.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.1107, allocations: 8.031 kB / 445.3 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.023e-05/0.1108, allocations: 54.55 kB / 445.4 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.1109, allocations: 15.81 kB / 445.4 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.1111, allocations: 222.7 kB / 445.6 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1112, allocations: 8 kB / 445.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1112, allocations: 8 kB / 445.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008061/0.112, allocations: 351.2 kB / 446 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1121, allocations: 7.875 kB / 446 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1121, allocations: 4 kB / 446 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.1121, allocations: 4 kB / 446 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.1125, allocations: 123.9 kB / 446.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.1133, allocations: 462.5 kB / 446.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.1139, allocations: 262.3 kB / 446.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.114, allocations: 4.062 kB / 446.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.114, allocations: 50.48 kB / 446.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.955e-06/0.114, allocations: 0 / 446.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009006/0.1149, allocations: 353 kB / 447.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.115, allocations: 145.1 kB / 447.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1152, allocations: 154.2 kB / 447.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1152, allocations: 29.7 kB / 447.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.1153, allocations: 112.2 kB / 447.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1153, allocations: 15.89 kB / 447.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.1153, allocations: 4 kB / 447.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.1154, allocations: 326.8 kB / 448 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1156, allocations: 43.97 kB / 448 MB, free: 4.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1158, allocations: 147.4 kB / 448.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.116, allocations: 71.91 kB / 448.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.116, allocations: 0 / 448.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005089/0.1165, allocations: 217.5 kB / 448.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1166, allocations: 8 kB / 448.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1166, allocations: 4 kB / 448.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.1166, allocations: 7.984 kB / 448.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.1169, allocations: 39.92 kB / 448.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1169, allocations: 7.938 kB / 448.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.1171, allocations: 23.83 kB / 448.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1171, allocations: 12 kB / 448.6 MB, free: 4.324 MB / 282.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.00014/0.1173, allocations: 153.5 kB / 448.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.1176, allocations: 161.5 kB / 448.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.1177, allocations: 16.84 kB / 448.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.1177, allocations: 8 kB / 448.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1177, allocations: 4 kB / 448.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1178, allocations: 3.938 kB / 448.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.1181, allocations: 213.4 kB / 449.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1181, allocations: 0 / 449.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1184, allocations: 36.02 kB / 449.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1184, allocations: 0 / 449.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.1184, allocations: 15.94 kB / 449.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1184, allocations: 0 / 449.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1184, allocations: 0 / 449.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.119, allocations: 439.8 kB / 449.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1191, allocations: 92.94 kB / 449.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1191, allocations: 4 kB / 449.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1193, allocations: 12 kB / 449.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.1194, allocations: 7.984 kB / 449.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.1194, allocations: 8 kB / 449.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.1195, allocations: 107.2 kB / 449.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1195, allocations: 0 / 449.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.12, allocations: 27.91 kB / 449.9 MB, free: 2.914 MB / 282.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 (17): * Single equations (assignments): 16 * Array equations: 1 * 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.0008345/0.1209, allocations: 1.163 MB / 451 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005405/0.1214, allocations: 156.8 kB / 451.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1215, allocations: 0 / 451.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1216, allocations: 27.92 kB / 451.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.1222, allocations: 111.8 kB / 451.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.1255, allocations: 3.574 MB / 454.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.126, allocations: 0.7437 MB / 455.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1261, allocations: 25.06 kB / 455.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1263, allocations: 35.42 kB / 455.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1263, allocations: 0 / 455.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.1505, allocations: 2.768 MB / 458.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004194/0.151, allocations: 189.7 kB / 458.6 MB, free: 9.883 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/2.773, allocations: 0 / 458.6 MB, free: 9.883 MB / 298.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)