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.0008785/0.0008786, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 172.1 kB / 16.58 MB, free: 6.844 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.503/1.503, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3267/0.3267, allocations: 43.54 MB / 314.6 MB, free: 8.781 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.0004928/0.0004929, allocations: 12 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005535/0.1151, allocations: 216.5 kB / 443.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1171, allocations: 1.215 MB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.1171, allocations: 4 kB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.1171, allocations: 0 / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.334e-06/0.1171, allocations: 0 / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000982/0.1181, allocations: 439 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.953e-05/0.1181, allocations: 4 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.1182, allocations: 0 / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.569e-05/0.1182, allocations: 3.984 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.809e-05/0.1182, allocations: 0 / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.1182, allocations: 0 / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.1211, allocations: 1.885 MB / 446.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-06/0.1211, allocations: 0 / 446.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1211, allocations: 29.64 kB / 446.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.1213, allocations: 119.8 kB / 446.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1213, allocations: 0 / 446.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1214, allocations: 0 / 446.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1214, allocations: 4 kB / 446.8 MB, free: 9.043 MB / 382.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.0003665/0.1217, allocations: 377.1 kB / 447.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1218, allocations: 8.031 kB / 447.1 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.1218, allocations: 30.56 kB / 447.2 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.1218, allocations: 3.906 kB / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.1219, allocations: 159.1 kB / 447.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.122, allocations: 7.953 kB / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.122, allocations: 4 kB / 447.3 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.105e-05/0.1221, allocations: 33.69 kB / 447.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1221, allocations: 4 kB / 447.4 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.1221, allocations: 0 / 447.4 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1221, allocations: 0 / 447.4 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.1221, allocations: 3.938 kB / 447.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.1223, allocations: 141.7 kB / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/0.1223, allocations: 22.56 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.1223, allocations: 4.859 kB / 447.6 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.1223, allocations: 8 kB / 447.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.1224, allocations: 64.31 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1224, allocations: 0 / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.1225, allocations: 67.33 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1226, allocations: 77.11 kB / 447.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.1227, allocations: 89.86 kB / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1227, allocations: 25.7 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.1227, allocations: 84.25 kB / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1227, allocations: 8 kB / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.1227, allocations: 0 / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1229, allocations: 310.8 kB / 448.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.1229, allocations: 4 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-06/0.1229, allocations: 0 / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.1229, allocations: 25.7 kB / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1229, allocations: 0 / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.104e-05/0.123, allocations: 67.3 kB / 448.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.123, allocations: 41.78 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1231, allocations: 4 kB / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.1231, allocations: 0 / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1231, allocations: 0 / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1231, allocations: 7.922 kB / 448.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.1231, allocations: 3.938 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1231, allocations: 0 / 448.4 MB, free: 7.121 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.1232, allocations: 143.5 kB / 448.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.1232, allocations: 3.953 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-06/0.1233, allocations: 7.125 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1233, allocations: 3.984 kB / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1233, allocations: 4 kB / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1233, allocations: 0 / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.109e-05/0.1234, allocations: 141.7 kB / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1234, allocations: 0 / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1234, allocations: 0 / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1234, allocations: 0 / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1234, allocations: 7.953 kB / 448.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1234, allocations: 0 / 448.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1234, allocations: 0 / 448.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.1235, allocations: 94.77 kB / 448.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.1236, allocations: 81.11 kB / 448.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1236, allocations: 3.984 kB / 448.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.1236, allocations: 3.953 kB / 448.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.1236, allocations: 0 / 448.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1236, allocations: 0 / 448.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.701e-05/0.1237, allocations: 87.31 kB / 449 MB, free: 6.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1237, allocations: 4.031 kB / 449 MB, free: 6.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1239, allocations: 63.98 kB / 449.1 MB, free: 6.375 MB / 382.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 (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.00095/0.1249, allocations: 0.903 MB / 450 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.846e-05/0.125, allocations: 67.33 kB / 450 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.125, allocations: 0 / 450 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.1251, allocations: 59.47 kB / 450.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1252, allocations: 11.89 kB / 450.1 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.1255, allocations: 132.3 kB / 450.2 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1257, allocations: 0.6731 MB / 450.9 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.25e-06/0.1257, allocations: 4 kB / 450.9 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.036e-05/0.1257, allocations: 7.438 kB / 450.9 MB, free: 4.418 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1257, allocations: 0 / 450.9 MB, free: 4.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.1391, allocations: 2.681 MB / 453.6 MB, free: 1.758 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.1394, allocations: 207.8 kB / 453.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.831, allocations: 64 / 453.8 MB, free: 1.52 MB / 382.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/linux/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) Environment - environmentSimulation: