Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",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.004663/0.004663, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001211/0.001211, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7892/0.7892, allocations: 135.6 MB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 72.22 kB / 0.5857 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1279, allocations: 81.02 MB / 0.6649 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002432/0.1304, allocations: 1.6 MB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007548/0.1311, allocations: 0.4996 MB / 0.6669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.1312, allocations: 8 kB / 0.6669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.578e-05/0.1313, allocations: 7.875 kB / 0.6669 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.174e-05/0.1313, allocations: 11.81 kB / 0.6669 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1315, allocations: 43.94 kB / 0.667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1316, allocations: 83.7 kB / 0.6671 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1318, allocations: 40.2 kB / 0.6671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.1319, allocations: 39.8 kB / 0.6671 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.132, allocations: 39.83 kB / 0.6672 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.132, allocations: 4 kB / 0.6672 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.627e-05/0.132, allocations: 20 kB / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.1321, allocations: 23.91 kB / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.1321, allocations: 39.73 kB / 0.6673 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1323, allocations: 87.86 kB / 0.6673 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1323, allocations: 4 kB / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1323, allocations: 0 / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1323, allocations: 0 / 0.6673 GB, free: 3.055 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004966/0.1328, allocations: 403 kB / 0.6677 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1328, allocations: 13.05 kB / 0.6677 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1329, allocations: 46.69 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.1329, allocations: 8.891 kB / 0.6678 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1331, allocations: 197.9 kB / 0.668 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1331, allocations: 4.375 kB / 0.668 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1331, allocations: 8.375 kB / 0.668 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1334, allocations: 105.8 kB / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1334, allocations: 0 / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1334, allocations: 4 kB / 0.6681 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1334, allocations: 4 kB / 0.6681 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.1336, allocations: 95.88 kB / 0.6682 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.1342, allocations: 380.6 kB / 0.6686 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1343, allocations: 58.48 kB / 0.6686 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1345, allocations: 52.95 kB / 0.6687 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.1345, allocations: 4 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1345, allocations: 30.56 kB / 0.6687 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1345, allocations: 0 / 0.6687 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004453/0.135, allocations: 177.5 kB / 0.6689 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.135, allocations: 59.34 kB / 0.6689 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1351, allocations: 139.4 kB / 0.6691 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1352, allocations: 25.7 kB / 0.6691 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.1352, allocations: 108.2 kB / 0.6692 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1353, allocations: 19.86 kB / 0.6692 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.1353, allocations: 21.7 kB / 0.6692 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1354, allocations: 310.8 kB / 0.6695 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1355, allocations: 43.97 kB / 0.6696 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.1356, allocations: 43.97 kB / 0.6696 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1359, allocations: 89.17 kB / 0.6697 GB, free: 440 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1359, allocations: 0 / 0.6697 GB, free: 440 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002675/0.1361, allocations: 137.5 kB / 0.6698 GB, free: 296 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1362, allocations: 4 kB / 0.6698 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1362, allocations: 0 / 0.6698 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1362, allocations: 3.938 kB / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1363, allocations: 23.92 kB / 0.6699 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1363, allocations: 0 / 0.6699 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.1364, allocations: 7.984 kB / 0.6699 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1364, allocations: 4 kB / 0.6699 GB, free: 252 kB / 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 (6): * Single equations (assignments): 6 * 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 8.901e-05/0.1365, allocations: 117.8 kB / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1365, allocations: 11.95 kB / 0.67 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.1369, allocations: 150.2 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1369, allocations: 7.938 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1369, allocations: 0 / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1369, allocations: 0 / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1371, allocations: 201.6 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1371, allocations: 3.984 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1372, allocations: 19.98 kB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1372, allocations: 0 / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1373, allocations: 4 kB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1373, allocations: 3.938 kB / 0.6704 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1373, allocations: 0 / 0.6704 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.1376, allocations: 223.4 kB / 0.6706 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.1376, allocations: 85.25 kB / 0.6707 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1377, allocations: 8 kB / 0.6707 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.1378, allocations: 15.92 kB / 0.6707 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1378, allocations: 7.984 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1378, allocations: 4 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.456e-05/0.1379, allocations: 101 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1379, allocations: 0 / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002212/0.1381, allocations: 16 kB / 0.6708 GB, free: 15.19 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 (6): * Single equations (assignments): 6 * 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.0006177/0.1387, allocations: 0.767 MB / 0.6716 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.139, allocations: 103.9 kB / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.139, allocations: 0 / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1391, allocations: 51.97 kB / 0.6717 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1394, allocations: 7.938 kB / 0.6717 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1411, allocations: 1.602 MB / 0.6733 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1414, allocations: 0.7079 MB / 0.674 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.556e-05/0.1415, allocations: 15.97 kB / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.1415, allocations: 27.42 kB / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1415, allocations: 0 / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.454/2.596, allocations: 2.001 MB / 0.676 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/12.78, allocations: 4.5 kB / 0.676 GB, free: 9.84 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)