Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 104.7 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 188.6 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2253/0.2253, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 67.58 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1102, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001662/0.1119, allocations: 497.3 kB / 441.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1137, allocations: 1.293 MB / 442.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.1137, allocations: 0 / 442.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.1138, allocations: 0 / 442.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.1138, allocations: 0 / 442.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1149, allocations: 0.5764 MB / 443 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.115, allocations: 7.938 kB / 443 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.115, allocations: 0 / 443 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.471e-05/0.1151, allocations: 0 / 443 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.901e-05/0.1151, allocations: 4 kB / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.1151, allocations: 0 / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.1265, allocations: 2.488 MB / 445.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1265, allocations: 0 / 445.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1266, allocations: 0 / 445.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1269, allocations: 163.7 kB / 445.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1269, allocations: 0 / 445.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1269, allocations: 3.938 kB / 445.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1269, allocations: 4 kB / 445.6 MB, free: 1.895 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003032/0.1272, allocations: 385.2 kB / 446 MB, free: 1.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1273, allocations: 19.83 kB / 446 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.1273, allocations: 30.75 kB / 446.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.1273, allocations: 4.922 kB / 446.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.883e-05/0.1274, allocations: 164.4 kB / 446.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1274, allocations: 384 / 446.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1274, allocations: 4.375 kB / 446.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.176e-05/0.1275, allocations: 33.58 kB / 446.3 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1275, allocations: 4 kB / 446.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1275, allocations: 0 / 446.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1276, allocations: 0 / 446.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.1276, allocations: 4 kB / 446.3 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.456e-05/0.1277, allocations: 149.7 kB / 446.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.728e-05/0.1277, allocations: 18.61 kB / 446.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.1277, allocations: 4.859 kB / 446.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1278, allocations: 7.938 kB / 446.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1278, allocations: 60.2 kB / 446.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1278, allocations: 0 / 446.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.1279, allocations: 67.45 kB / 446.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.128, allocations: 77.11 kB / 446.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.115e-05/0.128, allocations: 93.86 kB / 446.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-06/0.128, allocations: 25.7 kB / 446.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-06/0.128, allocations: 80.14 kB / 446.8 MB, free: 464 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.1281, allocations: 4.125 kB / 446.8 MB, free: 460 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.1281, allocations: 9.719 kB / 446.9 MB, free: 444 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.1281, allocations: 314.8 kB / 447.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.1282, allocations: 0 / 447.2 MB, free: 120 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.1282, allocations: 7.922 kB / 447.2 MB, free: 112 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.1282, allocations: 64.27 kB / 447.2 MB, free: 32 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1282, allocations: 0 / 447.2 MB, free: 32 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.914e-05/0.1283, allocations: 67.41 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.1284, allocations: 29.7 kB / 447.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1284, allocations: 0 / 447.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1284, allocations: 3.984 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1284, allocations: 0 / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1284, allocations: 4 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.1284, allocations: 0 / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1284, allocations: 3.938 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001648/0.1286, allocations: 143.5 kB / 447.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-06/0.1286, allocations: 7.969 kB / 447.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.076e-05/0.1286, allocations: 7.062 kB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1286, allocations: 0 / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1287, allocations: 3.938 kB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1287, allocations: 0 / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.52e-05/0.1288, allocations: 153.7 kB / 447.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1288, allocations: 0 / 447.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.1288, allocations: 3.938 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.1288, allocations: 0 / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1288, allocations: 0 / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1288, allocations: 0 / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1288, allocations: 4 kB / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.105e-05/0.1289, allocations: 90.83 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.129, allocations: 81.05 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.129, allocations: 0 / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-06/0.129, allocations: 4 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.129, allocations: 0 / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.129, allocations: 3.984 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.228e-05/0.129, allocations: 79.31 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1291, allocations: 0 / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1293, allocations: 64 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001111/0.1305, allocations: 0.9132 MB / 448.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.533e-05/0.1306, allocations: 63.39 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1306, allocations: 0 / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.1306, allocations: 59.47 kB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.1308, allocations: 11.88 kB / 449 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.1313, allocations: 130.6 kB / 449.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1316, allocations: 0.6767 MB / 449.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.221e-06/0.1316, allocations: 0 / 449.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.1316, allocations: 7.438 kB / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1316, allocations: 0 / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.1552, allocations: 3.064 MB / 452.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/9.642, allocations: 5.094 kB / 452.9 MB, free: 10.07 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)