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.001711/0.001711, allocations: 107.8 kB / 16.4 MB, free: 6.367 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.001724/0.001724, allocations: 196.8 kB / 17.34 MB, free: 5.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.582/1.582, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2412/0.2412, allocations: 43.52 MB / 314.1 MB, free: 472 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.002211/0.002211, allocations: 77.44 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1244, allocations: 57.78 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001892/0.1263, allocations: 498.6 kB / 499.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.1289, allocations: 1.292 MB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.129, allocations: 0 / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.129, allocations: 4 kB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.129, allocations: 0 / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.1308, allocations: 0.5726 MB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.084e-05/0.1309, allocations: 7.984 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.1309, allocations: 0 / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.292e-05/0.1309, allocations: 0 / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.846e-05/0.131, allocations: 0 / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.131, allocations: 0 / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01691/0.1479, allocations: 2.529 MB / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1479, allocations: 0 / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.148, allocations: 4 kB / 0.4921 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.1483, allocations: 159.7 kB / 0.4923 GB, free: 7.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1484, allocations: 0 / 0.4923 GB, free: 7.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.1484, allocations: 0 / 0.4923 GB, free: 7.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1484, allocations: 3.938 kB / 0.4923 GB, free: 7.32 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.0004159/0.1488, allocations: 388.3 kB / 0.4927 GB, free: 6.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1488, allocations: 19.89 kB / 0.4927 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.1489, allocations: 30.75 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.1489, allocations: 0.9375 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1491, allocations: 164.3 kB / 0.4929 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1491, allocations: 8.359 kB / 0.4929 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1491, allocations: 4.375 kB / 0.4929 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.1492, allocations: 29.64 kB / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1492, allocations: 0 / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.1492, allocations: 0 / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1492, allocations: 4 kB / 0.4929 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.1493, allocations: 8 kB / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1494, allocations: 145.6 kB / 0.4931 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.162e-05/0.1494, allocations: 22.59 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.1495, allocations: 4.859 kB / 0.4931 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1495, allocations: 3.938 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.1495, allocations: 60.27 kB / 0.4932 GB, free: 6.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.1496, allocations: 4 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001638/0.1497, allocations: 63.41 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.1498, allocations: 85.09 kB / 0.4933 GB, free: 6.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.1498, allocations: 89.86 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1499, allocations: 29.64 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.1499, allocations: 80.14 kB / 0.4935 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.1499, allocations: 3.953 kB / 0.4935 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.15, allocations: 17.72 kB / 0.4935 GB, free: 5.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1501, allocations: 319 kB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-06/0.1501, allocations: 0 / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.1501, allocations: 0 / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.1502, allocations: 60.27 kB / 0.4939 GB, free: 5.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1502, allocations: 3.938 kB / 0.4939 GB, free: 5.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.561e-05/0.1503, allocations: 75.27 kB / 0.4939 GB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.1504, allocations: 29.7 kB / 0.494 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1504, allocations: 0 / 0.494 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1504, allocations: 8.094 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1504, allocations: 0 / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1504, allocations: 0 / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.1504, allocations: 0 / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1504, allocations: 0 / 0.494 GB, free: 5.316 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 0.0001002/0.1505, allocations: 143.5 kB / 0.4941 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1505, allocations: 3.938 kB / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.158e-05/0.1506, allocations: 3.125 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1506, allocations: 3.984 kB / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1506, allocations: 4 kB / 0.4941 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1506, allocations: 0 / 0.4941 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1507, allocations: 149.7 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1507, allocations: 0 / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-06/0.1507, allocations: 3.938 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1507, allocations: 0 / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1508, allocations: 0 / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1508, allocations: 0 / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1508, allocations: 0 / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1509, allocations: 102.8 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1509, allocations: 81.05 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.151, allocations: 8 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-06/0.151, allocations: 0 / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.151, allocations: 0 / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.151, allocations: 0 / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.201e-05/0.1511, allocations: 75.28 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 0 / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1513, allocations: 75.8 kB / 0.4946 GB, free: 4.562 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.001327/0.1527, allocations: 0.9172 MB / 0.4955 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.1528, allocations: 59.34 kB / 0.4956 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1528, allocations: 0 / 0.4956 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.1529, allocations: 59.39 kB / 0.4956 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.153, allocations: 4 kB / 0.4956 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.1533, allocations: 146.4 kB / 0.4958 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1536, allocations: 0.6729 MB / 0.4964 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.25e-06/0.1536, allocations: 0 / 0.4964 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.1536, allocations: 7.438 kB / 0.4964 GB, free: 2.57 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1536, allocations: 0 / 0.4964 GB, free: 2.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/0.2908, allocations: 3.078 MB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.372/9.663, allocations: 11.91 kB / 0.4994 GB, free: 15.44 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)