Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.conf.json 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/HanserModelica 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005867/0.005867, allocations: 170.2 kB / 15.11 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04209/0.04209, allocations: 8.799 MB / 24.65 MB, free: 4.164 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 250.7 MB, free: 6.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009119, allocations: 95.7 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 15.94 kB / 367.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 52.54 MB / 419.7 MB, free: 48.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09446/0.3534, allocations: 77.01 MB / 496.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.3537, allocations: 55.98 kB / 496.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003038/0.3567, allocations: 1.172 MB / 497.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3567, allocations: 0 / 497.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3567, allocations: 4 kB / 497.9 MB, free: 10.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003272/0.3571, allocations: 413.1 kB / 498.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3571, allocations: 12.56 kB / 498.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.3572, allocations: 105.8 kB / 498.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.3573, allocations: 87.14 kB / 498.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3575, allocations: 283.1 kB / 498.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.3575, allocations: 155.7 kB / 499 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.3576, allocations: 153.9 kB / 499.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.759e-05/0.3576, allocations: 101 kB / 499.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.3577, allocations: 75.28 kB / 499.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.3577, allocations: 154.5 kB / 499.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.3578, allocations: 154.5 kB / 499.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.3578, allocations: 158.5 kB / 499.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.3581, allocations: 481.9 kB / 0.4885 GB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.3582, allocations: 173.1 kB / 0.4887 GB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3582, allocations: 75.28 kB / 0.4887 GB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3583, allocations: 113.8 kB / 0.4888 GB, free: 8.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3583, allocations: 0 / 0.4888 GB, free: 8.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.835e-05/0.3583, allocations: 41.45 kB / 0.4889 GB, free: 7.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3584, allocations: 130.7 kB / 0.489 GB, free: 7.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3586, allocations: 210.9 kB / 0.4892 GB, free: 7.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3586, allocations: 25.7 kB / 0.4892 GB, free: 7.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.3587, allocations: 116.1 kB / 0.4893 GB, free: 7.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.3587, allocations: 0 / 0.4893 GB, free: 7.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.3587, allocations: 4 kB / 0.4893 GB, free: 7.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.3588, allocations: 330.8 kB / 0.4897 GB, free: 7.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-06/0.3588, allocations: 4 kB / 0.4897 GB, free: 7.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-06/0.3588, allocations: 0 / 0.4897 GB, free: 7.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.3589, allocations: 75.28 kB / 0.4897 GB, free: 7.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.3589, allocations: 75.28 kB / 0.4898 GB, free: 7.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.77e-05/0.3589, allocations: 41.55 kB / 0.4898 GB, free: 6.961 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.359, allocations: 87.2 kB / 0.4899 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.359, allocations: 79.28 kB / 0.49 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.863e-05/0.3591, allocations: 150.6 kB / 0.4901 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.547e-05/0.3591, allocations: 87.22 kB / 0.4902 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.841e-05/0.3591, allocations: 150.6 kB / 0.4904 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.3592, allocations: 79.22 kB / 0.4904 GB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3593, allocations: 75.58 kB / 0.4905 GB, free: 6.262 MB / 362.7 MB 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.3594, allocations: 296.3 kB / 0.4908 GB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.3595, allocations: 116.8 kB / 0.4909 GB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.3595, allocations: 125.5 kB / 0.491 GB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/0.3596, allocations: 180.3 kB / 0.4912 GB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/0.3596, allocations: 180.2 kB / 0.4914 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-05/0.3597, allocations: 184.3 kB / 0.4916 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.3599, allocations: 437.1 kB / 0.492 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/0.3599, allocations: 112.9 kB / 0.4921 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.36, allocations: 101 kB / 0.4922 GB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.609e-05/0.3601, allocations: 180.2 kB / 0.4923 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.3601, allocations: 184.2 kB / 0.4925 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.087e-05/0.3602, allocations: 180.3 kB / 0.4927 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.002e-05/0.3602, allocations: 184.2 kB / 0.4929 GB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.3604, allocations: 316.6 kB / 0.4932 GB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.3605, allocations: 197.8 kB / 0.4934 GB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.3605, allocations: 188.2 kB / 0.4935 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.3606, allocations: 105 kB / 0.4936 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.3607, allocations: 184.2 kB / 0.4938 GB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3607, allocations: 104.9 kB / 0.4939 GB, free: 2.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3609, allocations: 172.2 kB / 0.4941 GB, free: 2.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3609, allocations: 0 / 0.4941 GB, free: 2.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.3611, allocations: 4 kB / 0.4941 GB, free: 2.383 MB / 362.7 MB 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000345/0.3615, allocations: 0.8207 MB / 0.4949 GB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.344e-05/0.3615, allocations: 3.938 kB / 0.4949 GB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3615, allocations: 0 / 0.4949 GB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3615, allocations: 0 / 0.4949 GB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.3618, allocations: 0.5291 MB / 0.4954 GB, free: 1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3628, allocations: 0.947 MB / 0.4963 GB, free: 4 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3631, allocations: 0.716 MB / 0.497 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.191e-05/0.3631, allocations: 0 / 0.497 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.3632, allocations: 31.36 kB / 0.4971 GB, free: 15.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3632, allocations: 3.938 kB / 0.4971 GB, free: 15.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.3747, allocations: 1.642 MB / 0.4987 GB, free: 13.72 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.375, allocations: 178.4 kB / 0.4988 GB, free: 13.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/1.832, allocations: 0 / 0.4988 GB, free: 13.48 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)