Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",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.005807/0.005807, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00127/0.00127, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7778/0.7778, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 66.34 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 80.93 MB / 0.6641 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002909/0.1381, allocations: 1.648 MB / 0.6657 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.139, allocations: 0.5185 MB / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.1391, allocations: 7.938 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.1396, allocations: 176.2 kB / 0.6664 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1399, allocations: 151.5 kB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.1404, allocations: 198 kB / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.1406, allocations: 203.5 kB / 0.6669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1407, allocations: 37.77 kB / 0.667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1409, allocations: 83.67 kB / 0.6671 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.141, allocations: 155.5 kB / 0.6672 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1411, allocations: 12 kB / 0.6672 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.1412, allocations: 47.98 kB / 0.6673 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.1413, allocations: 75.8 kB / 0.6673 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.1414, allocations: 95.28 kB / 0.6674 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.1417, allocations: 262.8 kB / 0.6677 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1417, allocations: 4 kB / 0.6677 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1417, allocations: 0 / 0.6677 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.1417, allocations: 0 / 0.6677 GB, free: 2.684 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007582/0.1425, allocations: 0.5951 MB / 0.6683 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1425, allocations: 13.11 kB / 0.6683 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.1426, allocations: 38.73 kB / 0.6683 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.1426, allocations: 32.69 kB / 0.6683 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.1431, allocations: 370.7 kB / 0.6687 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1431, allocations: 8.375 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1431, allocations: 384 / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1433, allocations: 77.59 kB / 0.6688 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1433, allocations: 0 / 0.6688 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1434, allocations: 3.984 kB / 0.6688 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1434, allocations: 0 / 0.6688 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1436, allocations: 55.89 kB / 0.6688 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.1441, allocations: 432.6 kB / 0.6692 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1443, allocations: 50.59 kB / 0.6693 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.1444, allocations: 28.89 kB / 0.6693 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1444, allocations: 0 / 0.6693 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.1444, allocations: 34.56 kB / 0.6694 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.1444, allocations: 0 / 0.6694 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004094/0.1448, allocations: 125.3 kB / 0.6695 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1449, allocations: 51.41 kB / 0.6695 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.1454, allocations: 0.5132 MB / 0.67 GB, free: 84 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1454, allocations: 25.7 kB / 0.6701 GB, free: 52 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1456, allocations: 172 kB / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1456, allocations: 7.953 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1456, allocations: 21.66 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1458, allocations: 342.8 kB / 0.6706 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.1459, allocations: 19.98 kB / 0.6706 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.146, allocations: 11.98 kB / 0.6706 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1461, allocations: 52.81 kB / 0.6707 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1461, allocations: 0 / 0.6707 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002427/0.1464, allocations: 101.4 kB / 0.6707 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1464, allocations: 5.719 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1464, allocations: 4 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1465, allocations: 0 / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.1465, allocations: 11.98 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1466, allocations: 0 / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.1467, allocations: 19.88 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1467, allocations: 0 / 0.6708 GB, free: 15.27 MB / 0.5137 GB 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 (3): * Single equations (assignments): 3 * 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.0001388/0.1468, allocations: 169.8 kB / 0.671 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.1469, allocations: 27.81 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.1472, allocations: 120 kB / 0.6711 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1472, allocations: 0 / 0.6711 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1472, allocations: 0 / 0.6711 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1472, allocations: 7.938 kB / 0.6711 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1475, allocations: 261.5 kB / 0.6713 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1475, allocations: 0 / 0.6713 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.1475, allocations: 11.98 kB / 0.6714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1475, allocations: 384 / 0.6714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1476, allocations: 4 kB / 0.6714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1476, allocations: 0 / 0.6714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1476, allocations: 0 / 0.6714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1478, allocations: 203.2 kB / 0.6716 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.148, allocations: 112.9 kB / 0.6717 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.148, allocations: 7.938 kB / 0.6717 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1481, allocations: 7.984 kB / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.1482, allocations: 3.938 kB / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1482, allocations: 8 kB / 0.6717 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003889/0.1486, allocations: 387 kB / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1486, allocations: 4 kB / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002618/0.1488, allocations: 23.94 kB / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.001259/0.1501, allocations: 0.977 MB / 0.673 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1503, allocations: 35.97 kB / 0.6731 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1504, allocations: 3.938 kB / 0.6731 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-05/0.1505, allocations: 27.97 kB / 0.6731 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1509, allocations: 43.59 kB / 0.6731 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.1539, allocations: 2.607 MB / 0.6757 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1542, allocations: 0.7749 MB / 0.6765 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.244e-05/0.1543, allocations: 37.92 kB / 0.6765 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1544, allocations: 87.34 kB / 0.6766 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1544, allocations: 0 / 0.6766 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.176, allocations: 5.013 MB / 0.6815 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.218, allocations: 8.578 kB / 0.6815 GB, free: 4.309 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)