Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",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.006234/0.006234, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03762/0.03762, allocations: 8.798 MB / 24.65 MB, free: 4.109 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.295/1.295, allocations: 223.2 MB / 250.7 MB, free: 6.578 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.0008708/0.0008708, allocations: 105.2 kB / 304 MB, free: 4.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 8 kB / 367.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 52.54 MB / 419.7 MB, free: 48.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08837/0.3321, allocations: 76.96 MB / 496.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3324, allocations: 65.75 kB / 496.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003524/0.3359, allocations: 1.162 MB / 497.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3359, allocations: 0 / 497.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3359, allocations: 0 / 497.9 MB, free: 10.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004011/0.3363, allocations: 416.4 kB / 498.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3364, allocations: 12.56 kB / 498.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3364, allocations: 41.36 kB / 498.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.3365, allocations: 7.906 kB / 498.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.3367, allocations: 214.8 kB / 498.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3367, allocations: 4 kB / 498.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3368, allocations: 4 kB / 498.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.211e-05/0.3369, allocations: 33.69 kB / 498.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3369, allocations: 0 / 498.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3369, allocations: 7.984 kB / 498.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3369, allocations: 7.953 kB / 498.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.3369, allocations: 8 kB / 498.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.3372, allocations: 197.6 kB / 498.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.229e-05/0.3373, allocations: 34.5 kB / 498.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3373, allocations: 0 / 498.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.3373, allocations: 30.56 kB / 498.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.3373, allocations: 4 kB / 498.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001755/0.3375, allocations: 57.69 kB / 498.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3375, allocations: 63.34 kB / 499 MB, free: 9.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.3377, allocations: 193.4 kB / 499.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3378, allocations: 33.64 kB / 499.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.3378, allocations: 112.1 kB / 499.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3379, allocations: 7.844 kB / 499.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.3379, allocations: 0 / 499.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.338, allocations: 326.8 kB / 499.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.338, allocations: 8 kB / 499.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.338, allocations: 7.984 kB / 499.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.3381, allocations: 8 kB / 499.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3381, allocations: 0 / 499.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.823e-05/0.3381, allocations: 61.78 kB / 499.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3382, allocations: 4 kB / 499.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3382, allocations: 0 / 499.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3382, allocations: 4.031 kB / 499.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.3383, allocations: 7.984 kB / 499.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3383, allocations: 4 kB / 499.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.3383, allocations: 4 kB / 499.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3384, allocations: 3.953 kB / 499.8 MB, free: 8.801 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 (3): * Single equations (assignments): 3 * 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 7.543e-05/0.3384, allocations: 121.8 kB / 499.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.3385, allocations: 15.89 kB / 499.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.3386, allocations: 66.61 kB / 500 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3386, allocations: 0 / 500 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3386, allocations: 0 / 500 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3386, allocations: 4 kB / 500 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3387, allocations: 185.6 kB / 0.4884 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3387, allocations: 4 kB / 0.4884 GB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.3388, allocations: 4 kB / 0.4884 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3388, allocations: 0 / 0.4884 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3388, allocations: 0 / 0.4884 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3388, allocations: 4 kB / 0.4884 GB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3388, allocations: 0 / 0.4884 GB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.563e-05/0.3389, allocations: 96.81 kB / 0.4885 GB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.339, allocations: 89.02 kB / 0.4886 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.339, allocations: 0 / 0.4886 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.3391, allocations: 7.984 kB / 0.4886 GB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3391, allocations: 3.938 kB / 0.4886 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3391, allocations: 4 kB / 0.4886 GB, free: 8.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.3392, allocations: 168.2 kB / 0.4888 GB, free: 7.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3392, allocations: 0 / 0.4888 GB, free: 7.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.3394, allocations: 8 kB / 0.4888 GB, free: 7.93 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 (3): * Single equations (assignments): 3 * 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.0003212/0.3398, allocations: 0.6279 MB / 0.4894 GB, free: 7.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.063e-05/0.3398, allocations: 19.94 kB / 0.4894 GB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3398, allocations: 0 / 0.4894 GB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-05/0.3399, allocations: 11.98 kB / 0.4894 GB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.34, allocations: 4 kB / 0.4894 GB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.3408, allocations: 0.706 MB / 0.4901 GB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3411, allocations: 0.7119 MB / 0.4908 GB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.3411, allocations: 24.16 kB / 0.4908 GB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.3412, allocations: 23.44 kB / 0.4909 GB, free: 5.703 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3412, allocations: 0 / 0.4909 GB, free: 5.703 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.3527, allocations: 1.763 MB / 0.4926 GB, free: 4.078 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.3529, allocations: 175.1 kB / 0.4928 GB, free: 3.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.819, allocations: 7.188 kB / 0.4928 GB, free: 3.836 MB / 362.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)