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.007201/0.007201, allocations: 106.2 kB / 15.74 MB, free: 6.445 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.001413/0.001413, allocations: 195.8 kB / 16.67 MB, free: 6.352 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.062/1.062, allocations: 135.6 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 0.5857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4107, allocations: 81.02 MB / 0.6648 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.003019/0.4138, allocations: 1.646 MB / 0.6664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008246/0.4146, allocations: 0.5129 MB / 0.6669 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.4147, allocations: 4.906 kB / 0.667 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.4153, allocations: 186 kB / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.4157, allocations: 169.7 kB / 0.6673 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.4161, allocations: 184.9 kB / 0.6675 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.4163, allocations: 206.4 kB / 0.6677 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.4164, allocations: 33.88 kB / 0.6677 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.4165, allocations: 86.67 kB / 0.6678 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.4167, allocations: 152 kB / 0.6679 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.4168, allocations: 12.47 kB / 0.6679 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.4169, allocations: 45.78 kB / 0.668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.417, allocations: 75.34 kB / 0.6681 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.417, allocations: 99.06 kB / 0.6681 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.4173, allocations: 265.9 kB / 0.6684 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.4173, allocations: 3.938 kB / 0.6684 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4173, allocations: 1.469 kB / 0.6684 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4174, allocations: 0 / 0.6684 GB, free: 4.273 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.0006606/0.418, allocations: 0.5898 MB / 0.669 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4181, allocations: 10.84 kB / 0.669 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.4181, allocations: 35.92 kB / 0.669 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.4182, allocations: 33.56 kB / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4186, allocations: 373.3 kB / 0.6694 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4186, allocations: 3.531 kB / 0.6694 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.4186, allocations: 1.969 kB / 0.6694 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.4188, allocations: 80.06 kB / 0.6695 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4188, allocations: 0 / 0.6695 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4188, allocations: 0 / 0.6695 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4188, allocations: 1.125 kB / 0.6695 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.419, allocations: 61.55 kB / 0.6696 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.4195, allocations: 426.8 kB / 0.67 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.4197, allocations: 53.56 kB / 0.67 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.4198, allocations: 32.67 kB / 0.67 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.4198, allocations: 5.047 kB / 0.6701 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.4198, allocations: 32.12 kB / 0.6701 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.4198, allocations: 0 / 0.6701 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003858/0.4202, allocations: 116 kB / 0.6702 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.4203, allocations: 55.34 kB / 0.6702 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.4208, allocations: 0.5161 MB / 0.6707 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.4208, allocations: 27.08 kB / 0.6708 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.4209, allocations: 165.1 kB / 0.6709 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.4209, allocations: 9.047 kB / 0.6709 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.421, allocations: 17.22 kB / 0.671 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.421, allocations: 348.7 kB / 0.6713 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.4211, allocations: 14.27 kB / 0.6713 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.4212, allocations: 18.77 kB / 0.6713 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4214, allocations: 46.09 kB / 0.6714 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4214, allocations: 1.094 kB / 0.6714 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002175/0.4216, allocations: 109.9 kB / 0.6715 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4216, allocations: 5.25 kB / 0.6715 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4216, allocations: 1.031 kB / 0.6715 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4217, allocations: 0 / 0.6715 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.4217, allocations: 12.05 kB / 0.6715 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4218, allocations: 0 / 0.6715 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.4218, allocations: 19.84 kB / 0.6715 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.4219, allocations: 1.281 kB / 0.6715 GB, free: 1.652 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.0001056/0.422, allocations: 170.9 kB / 0.6717 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.422, allocations: 27.59 kB / 0.6717 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.4223, allocations: 110.4 kB / 0.6718 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4223, allocations: 0.9375 kB / 0.6718 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4223, allocations: 0 / 0.6718 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4223, allocations: 7.875 kB / 0.6718 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.4225, allocations: 258.5 kB / 0.6721 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4225, allocations: 1.094 kB / 0.6721 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.4226, allocations: 18.83 kB / 0.6721 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4226, allocations: 0.9375 kB / 0.6721 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4226, allocations: 0 / 0.6721 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4226, allocations: 1.125 kB / 0.6721 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4226, allocations: 0 / 0.6721 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4229, allocations: 197.6 kB / 0.6723 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.4229, allocations: 115.3 kB / 0.6724 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.423, allocations: 0 / 0.6724 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4231, allocations: 12.05 kB / 0.6724 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.4231, allocations: 5.25 kB / 0.6724 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4231, allocations: 5.188 kB / 0.6724 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003538/0.4235, allocations: 386.7 kB / 0.6728 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.91e-07/0.4235, allocations: 0 / 0.6728 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002942/0.4238, allocations: 27.12 kB / 0.6728 GB, free: 0.6289 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.001604/0.4254, allocations: 0.9906 MB / 0.6738 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4256, allocations: 36.09 kB / 0.6738 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4256, allocations: 0 / 0.6738 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.94e-05/0.4258, allocations: 30.34 kB / 0.6738 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.4262, allocations: 39.05 kB / 0.6739 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.4295, allocations: 2.603 MB / 0.6764 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.43, allocations: 0.7716 MB / 0.6772 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.751e-05/0.4301, allocations: 45.05 kB / 0.6772 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.4302, allocations: 84.12 kB / 0.6773 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.4302, allocations: 0 / 0.6773 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.4568, allocations: 5.016 MB / 0.6822 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.565, allocations: 5.938 kB / 0.6822 GB, free: 10.62 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)