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.001531/0.001531, allocations: 107.7 kB / 16.41 MB, free: 6.492 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.002186/0.002187, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.753/1.753, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2301/0.2301, allocations: 43.52 MB / 314.1 MB, free: 460 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.001771/0.001771, allocations: 73.47 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.122, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001741/0.1237, allocations: 486.9 kB / 499.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1261, allocations: 1.299 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1262, allocations: 0 / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.1262, allocations: 0 / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.1262, allocations: 0 / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1278, allocations: 0.5803 MB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.163e-05/0.1278, allocations: 4 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.1279, allocations: 0 / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.408e-05/0.1279, allocations: 0 / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.805e-05/0.1279, allocations: 3.984 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-06/0.1279, allocations: 0 / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.1409, allocations: 2.525 MB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.141, allocations: 0 / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.141, allocations: 3.984 kB / 0.4922 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.1415, allocations: 163.7 kB / 0.4923 GB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1415, allocations: 0 / 0.4923 GB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1415, allocations: 0 / 0.4923 GB, free: 7.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1415, allocations: 0 / 0.4923 GB, free: 7.305 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.0003896/0.1419, allocations: 388.6 kB / 0.4927 GB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.142, allocations: 15.89 kB / 0.4927 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.142, allocations: 30.75 kB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.142, allocations: 4.938 kB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.191e-05/0.1421, allocations: 164.4 kB / 0.4929 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1422, allocations: 384 / 0.4929 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1422, allocations: 4.375 kB / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/0.1423, allocations: 33.58 kB / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1423, allocations: 0 / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1423, allocations: 0 / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1423, allocations: 0 / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.1423, allocations: 4 kB / 0.4929 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.1425, allocations: 153.7 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.1425, allocations: 22.59 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.1425, allocations: 4.859 kB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.1426, allocations: 3.938 kB / 0.4931 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.1426, allocations: 60.2 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1426, allocations: 0 / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001833/0.1428, allocations: 67.45 kB / 0.4932 GB, free: 6.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1429, allocations: 85.23 kB / 0.4933 GB, free: 6.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.983e-05/0.1429, allocations: 89.86 kB / 0.4934 GB, free: 5.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1429, allocations: 29.64 kB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.143, allocations: 80.14 kB / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.143, allocations: 0 / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.143, allocations: 13.72 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1431, allocations: 318.8 kB / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.1432, allocations: 0 / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.1432, allocations: 7.984 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.1432, allocations: 64.2 kB / 0.4939 GB, free: 5.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1432, allocations: 3.938 kB / 0.4939 GB, free: 5.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.99e-05/0.1433, allocations: 63.34 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.1434, allocations: 29.7 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1434, allocations: 0 / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1434, allocations: 3.984 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.1434, allocations: 4 kB / 0.494 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1434, allocations: 96 / 0.494 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.1434, allocations: 4 kB / 0.494 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1434, allocations: 0 / 0.494 GB, free: 5.309 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 9.114e-05/0.1435, allocations: 147.5 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.1435, allocations: 7.938 kB / 0.4941 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.314e-05/0.1436, allocations: 3.125 kB / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1436, allocations: 0 / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1436, allocations: 0 / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1436, allocations: 0 / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.83e-05/0.1437, allocations: 153.6 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1437, allocations: 4 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.1437, allocations: 3.938 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1437, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1437, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1437, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1437, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.1438, allocations: 90.83 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.1439, allocations: 85.02 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1439, allocations: 8 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.1439, allocations: 0 / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.1439, allocations: 0 / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1439, allocations: 0 / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.144, allocations: 79.28 kB / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.144, allocations: 0 / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000313/0.1443, allocations: 71.92 kB / 0.4946 GB, free: 4.555 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.001308/0.1456, allocations: 0.9057 MB / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1457, allocations: 63.39 kB / 0.4956 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1457, allocations: 0 / 0.4956 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.1458, allocations: 55.41 kB / 0.4956 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1459, allocations: 4 kB / 0.4956 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.1463, allocations: 150.3 kB / 0.4958 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1465, allocations: 0.673 MB / 0.4964 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.977e-06/0.1466, allocations: 7.984 kB / 0.4964 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.1466, allocations: 7.438 kB / 0.4964 GB, free: 2.562 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1466, allocations: 4 kB / 0.4964 GB, free: 2.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.167, allocations: 3.085 MB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.871, allocations: 15.92 kB / 0.4995 GB, free: 15.42 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)