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.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 194 kB / 16.53 MB, free: 6.664 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8061/0.8061, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.91 kB / 0.5055 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1317, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002707/0.1344, allocations: 1.576 MB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.1353, allocations: 0.5052 MB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.1353, allocations: 4 kB / 0.5865 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.278e-05/0.1354, allocations: 7.875 kB / 0.5865 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.1355, allocations: 19.69 kB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1358, allocations: 31.95 kB / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1359, allocations: 79.77 kB / 0.5867 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.136, allocations: 44.19 kB / 0.5867 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.1361, allocations: 43.8 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.1362, allocations: 43.83 kB / 0.5868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1362, allocations: 12 kB / 0.5868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.1363, allocations: 8 kB / 0.5868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.1363, allocations: 19.92 kB / 0.5868 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.1364, allocations: 43.73 kB / 0.5869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1365, allocations: 87.92 kB / 0.5869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1365, allocations: 0 / 0.5869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1365, allocations: 0 / 0.5869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1366, allocations: 0 / 0.5869 GB, free: 1.918 MB / 494.1 MB 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.0004836/0.137, allocations: 403 kB / 0.5873 GB, free: 1.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1371, allocations: 12.03 kB / 0.5873 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.1371, allocations: 38.73 kB / 0.5874 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1372, allocations: 12.84 kB / 0.5874 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1373, allocations: 196 kB / 0.5876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1373, allocations: 8.375 kB / 0.5876 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.1373, allocations: 4.375 kB / 0.5876 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.1376, allocations: 113.7 kB / 0.5877 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1377, allocations: 0 / 0.5877 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1377, allocations: 4 kB / 0.5877 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1377, allocations: 7.938 kB / 0.5877 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.1379, allocations: 99.92 kB / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.1384, allocations: 372.5 kB / 0.5882 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1386, allocations: 62.55 kB / 0.5882 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1387, allocations: 48.89 kB / 0.5883 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.1387, allocations: 7.984 kB / 0.5883 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.1387, allocations: 38.55 kB / 0.5883 GB, free: 356 kB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1387, allocations: 4 kB / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004606/0.1392, allocations: 157.5 kB / 0.5885 GB, free: 188 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1393, allocations: 59.34 kB / 0.5885 GB, free: 116 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.1394, allocations: 132.3 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1394, allocations: 25.7 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.1394, allocations: 100 kB / 0.5888 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1395, allocations: 27.8 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.1395, allocations: 21.7 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.1396, allocations: 322.8 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1397, allocations: 39.91 kB / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.1398, allocations: 43.91 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.14, allocations: 93.17 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.14, allocations: 4 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002437/0.1403, allocations: 121.5 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1403, allocations: 4 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1403, allocations: 4 kB / 0.5894 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1403, allocations: 3.938 kB / 0.5894 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1404, allocations: 23.91 kB / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1405, allocations: 0 / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.1405, allocations: 8 kB / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1406, allocations: 7.984 kB / 0.5895 GB, free: 15.11 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 (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 7.656e-05/0.1406, allocations: 117.8 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.1407, allocations: 7.906 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.141, allocations: 138.3 kB / 0.5897 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.141, allocations: 7.938 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.141, allocations: 0 / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.141, allocations: 3.984 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.1412, allocations: 205.6 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1412, allocations: 4 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.1413, allocations: 23.86 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1413, allocations: 0 / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1413, allocations: 3.984 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1414, allocations: 3.938 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1414, allocations: 0 / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.1417, allocations: 223.5 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.1417, allocations: 85.06 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1418, allocations: 8 kB / 0.5902 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.1419, allocations: 7.938 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1419, allocations: 3.984 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1419, allocations: 4 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.072e-05/0.142, allocations: 113 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.142, allocations: 3.938 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.1422, allocations: 19.91 kB / 0.5904 GB, free: 14.04 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 (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.0005438/0.1428, allocations: 0.7632 MB / 0.5911 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1431, allocations: 99.88 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1431, allocations: 0 / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1432, allocations: 55.95 kB / 0.5913 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.1434, allocations: 7.938 kB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.145, allocations: 1.598 MB / 0.5929 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1453, allocations: 0.707 MB / 0.5935 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.1454, allocations: 23.95 kB / 0.5936 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1454, allocations: 19.44 kB / 0.5936 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1455, allocations: 0 / 0.5936 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.1615, allocations: 1.961 MB / 0.5955 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.044, allocations: 2.031 kB / 0.5955 GB, free: 8.762 MB / 0.4981 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)