Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2257/0.2257, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 85.34 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1102, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002997/0.1132, allocations: 1.692 MB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1144, allocations: 0.6546 MB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.1145, allocations: 4 kB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.1146, allocations: 11.81 kB / 482.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.1147, allocations: 19.78 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.1151, allocations: 154.9 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1154, allocations: 151.7 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1155, allocations: 32.98 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1157, allocations: 71.81 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1158, allocations: 67.69 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.1158, allocations: 16 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.1159, allocations: 16 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.116, allocations: 39.83 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.116, allocations: 51.73 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1162, allocations: 139.8 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1162, allocations: 0 / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1162, allocations: 0 / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1163, allocations: 0 / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007104/0.117, allocations: 455 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.117, allocations: 8.031 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.1171, allocations: 46.69 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1172, allocations: 24.73 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1175, allocations: 220.1 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1175, allocations: 4.375 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1176, allocations: 12.31 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.118, allocations: 186.8 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.118, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1181, allocations: 3.984 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1181, allocations: 4 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.1185, allocations: 127.9 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.1194, allocations: 456.3 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.12, allocations: 194.5 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.1203, allocations: 72.73 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1203, allocations: 4 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1203, allocations: 30.56 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1203, allocations: 7.938 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001577/0.1219, allocations: 0.5721 MB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.122, allocations: 102.8 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1222, allocations: 167.3 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1222, allocations: 25.7 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.1223, allocations: 108.1 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.1223, allocations: 31.5 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.1224, allocations: 29.7 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1225, allocations: 322.8 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1228, allocations: 72.8 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.1231, allocations: 94.5 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.1236, allocations: 144.9 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1236, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005408/0.1241, allocations: 189.4 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1241, allocations: 4 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1242, allocations: 4 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1242, allocations: 3.938 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.1244, allocations: 35.91 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1244, allocations: 0 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1245, allocations: 27.97 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1246, allocations: 4 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001764/0.1247, allocations: 120.1 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001283/0.1249, allocations: 58.55 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002013/0.1251, allocations: 72.75 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-06/0.1251, allocations: 4.578 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002761/0.1254, allocations: 117.8 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.1254, allocations: 4 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.1254, allocations: 4.031 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/0.1254, allocations: 7.922 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.1255, allocations: 23.98 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.1255, allocations: 3.938 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1257, allocations: 15.98 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1257, allocations: 7.984 kB / 487.5 MB, free: 13.52 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001327/0.1258, allocations: 180.3 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1259, allocations: 15.81 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.1259, allocations: 17.41 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1259, allocations: 7.875 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1259, allocations: 3.984 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1259, allocations: 0 / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/0.1269, allocations: 0.5069 MB / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.127, allocations: 0 / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.1272, allocations: 43.92 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1272, allocations: 0 / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1272, allocations: 4 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1272, allocations: 4 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1272, allocations: 0 / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.1281, allocations: 367.9 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.1281, allocations: 85.05 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1282, allocations: 4.062 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.1285, allocations: 39.95 kB / 488.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1285, allocations: 11.97 kB / 488.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1285, allocations: 4 kB / 488.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.974e-05/0.1286, allocations: 120 kB / 488.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1287, allocations: 4 kB / 488.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.129, allocations: 32 kB / 488.9 MB, free: 11.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.001172/0.1302, allocations: 0.9005 MB / 489.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006503/0.1308, allocations: 195.8 kB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1308, allocations: 0 / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.1311, allocations: 79.86 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1316, allocations: 39.64 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.1347, allocations: 1.924 MB / 492 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.135, allocations: 0.7085 MB / 492.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.469e-05/0.1351, allocations: 20.81 kB / 492.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.1352, allocations: 39.42 kB / 492.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1352, allocations: 0 / 492.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1608, allocations: 3.816 MB / 496.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/7.909, allocations: 0 / 496.6 MB, free: 4.203 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1)