Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_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.005876/0.005876, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001352/0.001352, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.2/1.2, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7153/0.7153, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 62.81 kB / 0.5808 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1359, allocations: 80.2 MB / 0.6591 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002703/0.1386, allocations: 1.65 MB / 0.6608 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.1395, allocations: 0.5146 MB / 0.6613 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.1396, allocations: 3.938 kB / 0.6613 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.1401, allocations: 191.1 kB / 0.6614 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1404, allocations: 159.7 kB / 0.6616 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.1409, allocations: 196.1 kB / 0.6618 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.1411, allocations: 207.6 kB / 0.662 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1412, allocations: 30.11 kB / 0.662 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1413, allocations: 91.59 kB / 0.6621 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1415, allocations: 155.6 kB / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.1416, allocations: 12 kB / 0.6623 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.968e-05/0.1417, allocations: 36 kB / 0.6623 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.1417, allocations: 83.72 kB / 0.6624 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.1418, allocations: 91.3 kB / 0.6625 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1421, allocations: 266.2 kB / 0.6627 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1421, allocations: 4 kB / 0.6627 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1421, allocations: 0 / 0.6627 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1421, allocations: 0 / 0.6627 GB, free: 7.25 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.0007196/0.1428, allocations: 0.5836 MB / 0.6633 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1429, allocations: 8.031 kB / 0.6633 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1429, allocations: 42.75 kB / 0.6633 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.143, allocations: 28.56 kB / 0.6634 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.1434, allocations: 378.3 kB / 0.6637 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.1434, allocations: 384 / 0.6637 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1435, allocations: 8.375 kB / 0.6637 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1436, allocations: 73.59 kB / 0.6638 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1437, allocations: 0 / 0.6638 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1437, allocations: 0 / 0.6638 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1437, allocations: 4 kB / 0.6638 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.1439, allocations: 55.89 kB / 0.6639 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.1444, allocations: 428.5 kB / 0.6643 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1445, allocations: 50.64 kB / 0.6643 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.1446, allocations: 28.84 kB / 0.6643 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1447, allocations: 7.984 kB / 0.6643 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1447, allocations: 34.5 kB / 0.6644 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1447, allocations: 0 / 0.6644 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003737/0.1451, allocations: 121.3 kB / 0.6645 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.1451, allocations: 51.41 kB / 0.6645 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.1456, allocations: 0.5171 MB / 0.665 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.1456, allocations: 29.7 kB / 0.6651 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1457, allocations: 160.1 kB / 0.6652 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.1458, allocations: 15.75 kB / 0.6652 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1458, allocations: 13.72 kB / 0.6653 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1459, allocations: 342.8 kB / 0.6656 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.146, allocations: 19.97 kB / 0.6656 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.1461, allocations: 23.98 kB / 0.6656 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1463, allocations: 40.81 kB / 0.6657 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1463, allocations: 0 / 0.6657 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002231/0.1465, allocations: 101.3 kB / 0.6658 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1465, allocations: 4 kB / 0.6658 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1465, allocations: 3.984 kB / 0.6658 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1466, allocations: 4 kB / 0.6658 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.1466, allocations: 11.98 kB / 0.6658 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1467, allocations: 0 / 0.6658 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.1467, allocations: 7.938 kB / 0.6658 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1467, allocations: 0 / 0.6658 GB, free: 3.859 MB / 0.4981 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.0001294/0.1469, allocations: 177.8 kB / 0.666 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.1469, allocations: 27.62 kB / 0.666 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.1472, allocations: 104.1 kB / 0.6661 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1472, allocations: 0 / 0.6661 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1472, allocations: 7.922 kB / 0.6661 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1472, allocations: 7.938 kB / 0.6661 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.1475, allocations: 265.5 kB / 0.6664 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1475, allocations: 0 / 0.6664 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.1475, allocations: 11.98 kB / 0.6664 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1475, allocations: 0 / 0.6664 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1476, allocations: 0 / 0.6664 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1476, allocations: 0 / 0.6664 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1476, allocations: 4 kB / 0.6664 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1478, allocations: 199 kB / 0.6666 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1479, allocations: 116.7 kB / 0.6667 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.148, allocations: 432 / 0.6667 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.1481, allocations: 7.938 kB / 0.6667 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.1481, allocations: 11.92 kB / 0.6667 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.1481, allocations: 4 kB / 0.6667 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003502/0.1485, allocations: 387.1 kB / 0.6671 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 3.938 kB / 0.6671 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002358/0.1487, allocations: 20 kB / 0.6671 GB, free: 2.426 MB / 0.4981 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.001151/0.1499, allocations: 0.9695 MB / 0.668 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1501, allocations: 55.95 kB / 0.6681 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1501, allocations: 0 / 0.6681 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.1502, allocations: 23.92 kB / 0.6681 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1506, allocations: 44.7 kB / 0.6682 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.1533, allocations: 2.588 MB / 0.6707 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1536, allocations: 0.7822 MB / 0.6714 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.435e-05/0.1537, allocations: 33.94 kB / 0.6715 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1538, allocations: 87.39 kB / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1538, allocations: 0 / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.1763, allocations: 5.098 MB / 0.6765 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.796, allocations: 3.938 kB / 0.6765 GB, free: 8.867 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)