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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007129/0.0007129, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8935/0.8935, allocations: 177.2 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02501/0.02501, allocations: 6.667 MB / 319 MB, free: 26.77 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.192e-05, allocations: 2.281 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.000845/0.000857, allocations: 0.4957 MB / 445.9 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.001657, allocations: 1.138 MB / 447 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.001683, allocations: 0 / 447 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.00193, allocations: 23.84 kB / 447 MB, free: 35.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.00197, allocations: 23.91 kB / 447.1 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.001974, allocations: 0 / 447.1 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.002026, allocations: 23.92 kB / 447.1 MB, free: 35.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.002064, allocations: 7.922 kB / 447.1 MB, free: 35.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.002213, allocations: 31.91 kB / 447.1 MB, free: 35.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.734e-05/0.002301, allocations: 23.92 kB / 447.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.002313, allocations: 0 / 447.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.002321, allocations: 0 / 447.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.002417, allocations: 79.78 kB / 447.2 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.002435, allocations: 7.938 kB / 447.2 MB, free: 35.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.108e-05/0.002486, allocations: 39.84 kB / 447.3 MB, free: 35.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002488, allocations: 0 / 447.3 MB, free: 35.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002489, allocations: 0 / 447.3 MB, free: 35.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.002492, allocations: 3.938 kB / 447.3 MB, free: 35.75 MB / 330.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.0002611/0.002753, allocations: 333.7 kB / 447.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.002787, allocations: 12.03 kB / 447.6 MB, free: 35.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.145e-05/0.002809, allocations: 110 kB / 447.7 MB, free: 35.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.002835, allocations: 84.17 kB / 447.8 MB, free: 35.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/0.002926, allocations: 241.7 kB / 448 MB, free: 34.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.00294, allocations: 154.9 kB / 448.2 MB, free: 34.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.00295, allocations: 150.9 kB / 448.3 MB, free: 34.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.166e-05/0.002981, allocations: 105.5 kB / 448.4 MB, free: 34.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.00299, allocations: 75.47 kB / 448.5 MB, free: 34.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.003002, allocations: 154.7 kB / 448.7 MB, free: 34.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.003014, allocations: 150.6 kB / 448.8 MB, free: 34.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.446e-05/0.003028, allocations: 154.5 kB / 449 MB, free: 33.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.003159, allocations: 453 kB / 449.4 MB, free: 33.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.263e-05/0.003192, allocations: 169.1 kB / 449.6 MB, free: 33.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-06/0.003202, allocations: 80.14 kB / 449.6 MB, free: 33.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.00321, allocations: 79.28 kB / 449.7 MB, free: 33.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.003224, allocations: 117.8 kB / 449.8 MB, free: 33.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 5.71e-07/0.003225, allocations: 0 / 449.8 MB, free: 33.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.868e-05/0.003273, allocations: 41.55 kB / 449.9 MB, free: 32.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.003295, allocations: 130.7 kB / 450 MB, free: 32.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.003416, allocations: 223.9 kB / 450.2 MB, free: 32.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-06/0.003419, allocations: 25.7 kB / 450.3 MB, free: 32.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.003449, allocations: 124.1 kB / 450.4 MB, free: 32.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.003451, allocations: 0 / 450.4 MB, free: 32.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.003463, allocations: 9.719 kB / 450.4 MB, free: 32.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.849e-05/0.003491, allocations: 326.8 kB / 450.7 MB, free: 32.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-06/0.003495, allocations: 4 kB / 450.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-06/0.003497, allocations: 0 / 450.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.813e-06/0.003504, allocations: 75.28 kB / 450.8 MB, free: 32.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.00351, allocations: 79.22 kB / 450.9 MB, free: 31.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.702e-05/0.003537, allocations: 37.66 kB / 450.9 MB, free: 31.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.003551, allocations: 86.23 kB / 451 MB, free: 31.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.003558, allocations: 79.28 kB / 451.1 MB, free: 31.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.003579, allocations: 162.4 kB / 451.2 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-06/0.003584, allocations: 75.28 kB / 451.3 MB, free: 31.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.003595, allocations: 158.5 kB / 451.4 MB, free: 31.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.003636, allocations: 91.22 kB / 451.5 MB, free: 31.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.003642, allocations: 75.45 kB / 451.6 MB, free: 31.2 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.00369, allocations: 289.6 kB / 451.9 MB, free: 30.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.003709, allocations: 124.8 kB / 452 MB, free: 30.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.003728, allocations: 125.3 kB / 452.1 MB, free: 30.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.003741, allocations: 196.1 kB / 452.3 MB, free: 30.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.003754, allocations: 176.3 kB / 452.5 MB, free: 30.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.003765, allocations: 176.3 kB / 452.7 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.457e-05/0.00385, allocations: 416.2 kB / 453.1 MB, free: 29.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.003856, allocations: 101 kB / 453.2 MB, free: 29.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/0.003863, allocations: 108.9 kB / 453.3 MB, free: 29.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.003875, allocations: 180.3 kB / 453.5 MB, free: 29.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.003889, allocations: 176.3 kB / 453.6 MB, free: 29.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.003901, allocations: 188.1 kB / 453.8 MB, free: 28.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.003913, allocations: 188.2 kB / 454 MB, free: 28.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.748e-05/0.00395, allocations: 315.7 kB / 454.3 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.003969, allocations: 120.9 kB / 454.4 MB, free: 28.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.003989, allocations: 180.2 kB / 454.6 MB, free: 28.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.004024, allocations: 108.9 kB / 454.7 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.004039, allocations: 184.2 kB / 454.9 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.004046, allocations: 109 kB / 455 MB, free: 27.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.651e-05/0.004112, allocations: 172.1 kB / 455.2 MB, free: 27.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004112, allocations: 0 / 455.2 MB, free: 27.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.004274, allocations: 4 kB / 455.2 MB, free: 27.45 MB / 330.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 (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.0001039/0.004378, allocations: 0.8126 MB / 456 MB, free: 26.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 2.782e-05/0.004406, allocations: 0 / 456 MB, free: 26.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.004407, allocations: 0 / 456 MB, free: 26.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.004408, allocations: 0 / 456 MB, free: 26.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.004572, allocations: 463.6 kB / 456.4 MB, free: 26.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.005301, allocations: 2.059 MB / 458.5 MB, free: 24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.005342, allocations: 96.8 kB / 458.6 MB, free: 23.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.112e-05/0.005354, allocations: 0 / 458.6 MB, free: 23.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.005382, allocations: 28.48 kB / 458.6 MB, free: 23.86 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005383, allocations: 0 / 458.6 MB, free: 23.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.01929, allocations: 2.506 MB / 461.1 MB, free: 21.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.725, allocations: 11.64 kB / 461.1 MB, free: 21.47 MB / 330.7 MB " [Timeout remaining time 653] (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/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.554822448641062] Failed to read output from testmodel.py, exit status != 0: 6.804385402239859 6.81135729 6.807613522 Calling exit ...