Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",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.00154/0.00154, allocations: 105.7 kB / 16.27 MB, free: 5.93 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.001905/0.001905, allocations: 193.4 kB / 17.2 MB, free: 5.574 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.506/1.506, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2131/0.2131, allocations: 43.51 MB / 313.9 MB, free: 0.5352 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.001467/0.001467, allocations: 75.41 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.119, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00167/0.1207, allocations: 0.4896 MB / 441.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.1233, allocations: 1.97 MB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.1234, allocations: 0 / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.1234, allocations: 0 / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.1234, allocations: 4 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.1255, allocations: 0.7075 MB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.9e-05/0.1256, allocations: 4 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.146e-05/0.1256, allocations: 0 / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.975e-05/0.1257, allocations: 0 / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.767e-05/0.1257, allocations: 7.984 kB / 443.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.094e-06/0.1257, allocations: 0 / 443.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.1268, allocations: 0.6551 MB / 444.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.1268, allocations: 0 / 444.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.1268, allocations: 0 / 444.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.1273, allocations: 0.5653 MB / 445 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1274, allocations: 0 / 445 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1274, allocations: 0 / 445 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1274, allocations: 0 / 445 MB, free: 2.395 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.0004475/0.1278, allocations: 402.7 kB / 445.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1279, allocations: 15.89 kB / 445.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.1279, allocations: 30.75 kB / 445.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.128, allocations: 4.938 kB / 445.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.983e-05/0.128, allocations: 164.4 kB / 445.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.128, allocations: 4.312 kB / 445.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1281, allocations: 4.375 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.1282, allocations: 29.83 kB / 445.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1282, allocations: 0 / 445.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1282, allocations: 0 / 445.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1282, allocations: 3.938 kB / 445.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.1282, allocations: 4 kB / 445.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.934e-05/0.1283, allocations: 157.6 kB / 445.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.1284, allocations: 18.61 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.1284, allocations: 12.86 kB / 445.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1284, allocations: 0 / 445.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1285, allocations: 60.2 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1285, allocations: 3.984 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.1286, allocations: 71.39 kB / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1287, allocations: 81.23 kB / 446.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.28e-05/0.1287, allocations: 89.86 kB / 446.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.1287, allocations: 29.7 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.479e-05/0.1288, allocations: 80.14 kB / 446.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1288, allocations: 3.938 kB / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.1288, allocations: 9.719 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.1289, allocations: 318.8 kB / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-06/0.1289, allocations: 0 / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.1289, allocations: 4 kB / 446.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.1289, allocations: 68.19 kB / 446.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1289, allocations: 0 / 446.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.086e-05/0.129, allocations: 59.41 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.129, allocations: 37.64 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1291, allocations: 0 / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1291, allocations: 0 / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-06/0.1291, allocations: 0 / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1291, allocations: 0 / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.1291, allocations: 8.094 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1291, allocations: 3.984 kB / 446.8 MB, free: 380 kB / 318.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 7.171e-05/0.1292, allocations: 135.5 kB / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.1292, allocations: 7.938 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.559e-05/0.1292, allocations: 3.125 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.1293, allocations: 0 / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1293, allocations: 0 / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1293, allocations: 0 / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.291e-05/0.1294, allocations: 145.7 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1294, allocations: 4 kB / 447.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1294, allocations: 4 kB / 447.1 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1294, allocations: 7.875 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1294, allocations: 0 / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1294, allocations: 0 / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1294, allocations: 3.938 kB / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.1295, allocations: 90.83 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.1296, allocations: 81.08 kB / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1296, allocations: 4 kB / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.1296, allocations: 0 / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.1297, allocations: 8 kB / 447.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.1297, allocations: 0 / 447.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.1297, allocations: 75.28 kB / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.685e-06/0.1297, allocations: 0 / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005103/0.1302, allocations: 135.9 kB / 447.5 MB, free: 15.57 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.001105/0.1314, allocations: 0.7856 MB / 448.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.1315, allocations: 59.39 kB / 448.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1315, allocations: 0 / 448.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.1315, allocations: 59.41 kB / 448.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1317, allocations: 4 kB / 448.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.1321, allocations: 150.7 kB / 448.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1324, allocations: 0.6729 MB / 449.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.846e-06/0.1324, allocations: 3.938 kB / 449.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.1324, allocations: 11.38 kB / 449.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1324, allocations: 0 / 449.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.1566, allocations: 4.652 MB / 453.8 MB, free: 9.055 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/7.998, allocations: 4.672 kB / 453.8 MB, free: 9.055 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1)