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.001433/0.001433, allocations: 105.1 kB / 16.4 MB, free: 6.477 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.001419/0.001419, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2039/0.2039, allocations: 43.52 MB / 314.1 MB, free: 440 kB / 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.001586/0.001586, allocations: 65.47 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1175, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00177/0.1193, allocations: 0.4989 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1216, allocations: 1.284 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.1216, allocations: 0 / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.1216, allocations: 0 / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.554e-06/0.1217, allocations: 8 kB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1234, allocations: 0.5725 MB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.1234, allocations: 7.984 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.1235, allocations: 0 / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.1235, allocations: 4 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.831e-05/0.1235, allocations: 0 / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.1235, allocations: 0 / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.136, allocations: 2.527 MB / 0.4921 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.1361, allocations: 0 / 0.4921 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.1361, allocations: 4 kB / 0.4922 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.1365, allocations: 159.7 kB / 0.4923 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1365, allocations: 4 kB / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1365, allocations: 0 / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1365, allocations: 0 / 0.4923 GB, free: 7.293 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.0004271/0.137, allocations: 389.1 kB / 0.4927 GB, free: 6.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.137, allocations: 11.89 kB / 0.4927 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1371, allocations: 38.75 kB / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1371, allocations: 4.938 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.1372, allocations: 164.3 kB / 0.4929 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1372, allocations: 384 / 0.4929 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1373, allocations: 384 / 0.4929 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1374, allocations: 37.62 kB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1374, allocations: 0 / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1374, allocations: 0 / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1374, allocations: 0 / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.171e-05/0.1374, allocations: 7.984 kB / 0.4929 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1376, allocations: 149.7 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.757e-05/0.1376, allocations: 18.52 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.1376, allocations: 4.953 kB / 0.4931 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.1377, allocations: 7.938 kB / 0.4931 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.887e-05/0.1377, allocations: 60.25 kB / 0.4932 GB, free: 6.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.1377, allocations: 0 / 0.4932 GB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001803/0.1379, allocations: 67.41 kB / 0.4932 GB, free: 6.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.138, allocations: 77.11 kB / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.405e-05/0.138, allocations: 89.86 kB / 0.4934 GB, free: 5.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.138, allocations: 29.64 kB / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.1381, allocations: 80.14 kB / 0.4935 GB, free: 5.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.1381, allocations: 4 kB / 0.4935 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.1381, allocations: 17.64 kB / 0.4935 GB, free: 5.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1382, allocations: 315 kB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.1382, allocations: 8 kB / 0.4938 GB, free: 5.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.1383, allocations: 0 / 0.4938 GB, free: 5.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.1383, allocations: 64.27 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1383, allocations: 3.938 kB / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.118e-05/0.1384, allocations: 63.33 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.1385, allocations: 33.7 kB / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1385, allocations: 0 / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1385, allocations: 0 / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.1385, allocations: 4.094 kB / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1385, allocations: 0 / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.1385, allocations: 3.938 kB / 0.494 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.1385, allocations: 4 kB / 0.494 GB, free: 5.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/0.1386, allocations: 139.5 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.1387, allocations: 7.922 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.654e-05/0.1387, allocations: 7.125 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1387, allocations: 0 / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1387, allocations: 0 / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1387, allocations: 4 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.654e-05/0.1388, allocations: 141.7 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1388, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/0.1388, allocations: 3.938 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1388, allocations: 4 kB / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1388, allocations: 3.984 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1388, allocations: 0 / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1389, allocations: 4 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.951e-05/0.139, allocations: 90.84 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.139, allocations: 88.97 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.139, allocations: 0 / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-06/0.139, allocations: 0 / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.1391, allocations: 7.938 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1391, allocations: 0 / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.1391, allocations: 75.28 kB / 0.4945 GB, free: 4.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1391, allocations: 0 / 0.4945 GB, free: 4.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.1395, allocations: 71.92 kB / 0.4946 GB, free: 4.539 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 (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.001053/0.1405, allocations: 0.9097 MB / 0.4955 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1407, allocations: 59.41 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1407, allocations: 0 / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.1407, allocations: 59.34 kB / 0.4956 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1408, allocations: 0 / 0.4956 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.1412, allocations: 154.5 kB / 0.4958 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1414, allocations: 0.6729 MB / 0.4964 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.781e-06/0.1414, allocations: 0 / 0.4964 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.1415, allocations: 11.44 kB / 0.4964 GB, free: 2.547 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1415, allocations: 0 / 0.4964 GB, free: 2.547 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.1604, allocations: 3.085 MB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.672, allocations: 11.83 kB / 0.4994 GB, free: 15.41 MB / 398.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)