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/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.0007452/0.0007452, 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.9031/0.9031, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.001108/0.001108, allocations: 156.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.0217/0.0217, allocations: 6.668 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.463e-05, allocations: 2.281 kB / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001318/0.001333, allocations: 0.5229 MB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.002677, allocations: 1.154 MB / 447.1 MB, free: 35.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.002731, allocations: 0 / 447.1 MB, free: 35.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.002987, allocations: 11.98 kB / 447.1 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.00312, allocations: 15.91 kB / 447.1 MB, free: 35.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.652e-05/0.003216, allocations: 23.86 kB / 447.1 MB, free: 35.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.003307, allocations: 35.84 kB / 447.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.003356, allocations: 4 kB / 447.2 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.003571, allocations: 27.91 kB / 447.2 MB, free: 35.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.003708, allocations: 35.89 kB / 447.2 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.00373, allocations: 7.938 kB / 447.2 MB, free: 35.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.003743, allocations: 0 / 447.2 MB, free: 35.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.003829, allocations: 47.88 kB / 447.3 MB, free: 35.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.003861, allocations: 11.94 kB / 447.3 MB, free: 35.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.965e-05/0.003941, allocations: 51.75 kB / 447.3 MB, free: 35.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003943, allocations: 0 / 447.3 MB, free: 35.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003944, allocations: 0 / 447.3 MB, free: 35.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003947, allocations: 0 / 447.3 MB, free: 35.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004152/0.004363, allocations: 333.8 kB / 447.7 MB, free: 35.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.004403, allocations: 8.031 kB / 447.7 MB, free: 35.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.004429, allocations: 34.75 kB / 447.7 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.004458, allocations: 16.84 kB / 447.7 MB, free: 35.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004601, allocations: 157.5 kB / 447.9 MB, free: 35.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004613, allocations: 8.375 kB / 447.9 MB, free: 35.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.004622, allocations: 384 / 447.9 MB, free: 35.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.004697, allocations: 34.25 kB / 447.9 MB, free: 35.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.004705, allocations: 192 / 447.9 MB, free: 35.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.004714, allocations: 8.125 kB / 447.9 MB, free: 35.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004719, allocations: 0 / 447.9 MB, free: 35.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.00475, allocations: 11.98 kB / 447.9 MB, free: 35.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.004882, allocations: 164.7 kB / 448.1 MB, free: 34.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.092e-05/0.004933, allocations: 34.5 kB / 448.1 MB, free: 34.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.004948, allocations: 8.859 kB / 448.1 MB, free: 34.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.004967, allocations: 4 kB / 448.1 MB, free: 34.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.135e-05/0.004978, allocations: 34.56 kB / 448.2 MB, free: 34.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004979, allocations: 0 / 448.2 MB, free: 34.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001199/0.005099, allocations: 77.58 kB / 448.2 MB, free: 34.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.005116, allocations: 51.41 kB / 448.3 MB, free: 34.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.005221, allocations: 214.9 kB / 448.5 MB, free: 34.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-06/0.005225, allocations: 25.7 kB / 448.5 MB, free: 34.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.005251, allocations: 108.1 kB / 448.6 MB, free: 34.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.005273, allocations: 11.94 kB / 448.6 MB, free: 34.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.005294, allocations: 13.72 kB / 448.7 MB, free: 34.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.851e-05/0.005322, allocations: 322.8 kB / 449 MB, free: 33.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.005334, allocations: 12 kB / 449 MB, free: 33.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.005344, allocations: 7.984 kB / 449 MB, free: 33.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.005374, allocations: 24.84 kB / 449 MB, free: 33.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005376, allocations: 0 / 449 MB, free: 33.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.974e-05/0.005425, allocations: 61.53 kB / 449.1 MB, free: 33.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005436, allocations: 8 kB / 449.1 MB, free: 33.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.00544, allocations: 0 / 449.1 MB, free: 33.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.005451, allocations: 3.938 kB / 449.1 MB, free: 33.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.00551, allocations: 7.938 kB / 449.1 MB, free: 33.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.005515, allocations: 0 / 449.1 MB, free: 33.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.005539, allocations: 11.92 kB / 449.1 MB, free: 33.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.005544, allocations: 4 kB / 449.1 MB, free: 33.72 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 (3): * Single equations (assignments): 3 * 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 3.857e-05/0.005583, allocations: 122.5 kB / 449.2 MB, free: 33.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-06/0.00559, allocations: 11.91 kB / 449.2 MB, free: 33.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.219e-05/0.005672, allocations: 66.7 kB / 449.3 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005674, allocations: 3.938 kB / 449.3 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.005678, allocations: 4 kB / 449.3 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005681, allocations: 3.938 kB / 449.3 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.167e-05/0.005733, allocations: 152.7 kB / 449.5 MB, free: 33.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005734, allocations: 4 kB / 449.5 MB, free: 33.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.005749, allocations: 8 kB / 449.5 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.005749, allocations: 0 / 449.5 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.005755, allocations: 0 / 449.5 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.005757, allocations: 7.922 kB / 449.5 MB, free: 33.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005757, allocations: 0 / 449.5 MB, free: 33.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.99e-05/0.005807, allocations: 81.06 kB / 449.6 MB, free: 33.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.005823, allocations: 20.27 kB / 449.6 MB, free: 33.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.005835, allocations: 4 kB / 449.6 MB, free: 33.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.005855, allocations: 7.922 kB / 449.6 MB, free: 33.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.00587, allocations: 4 kB / 449.6 MB, free: 33.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.005872, allocations: 0 / 449.6 MB, free: 33.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.005936, allocations: 164.3 kB / 449.8 MB, free: 32.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005936, allocations: 0 / 449.8 MB, free: 32.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001162/0.006052, allocations: 11.94 kB / 449.8 MB, free: 32.98 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 (3): * Single equations (assignments): 3 * 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.0001332/0.006185, allocations: 0.6124 MB / 450.4 MB, free: 32.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.006254, allocations: 19.98 kB / 450.4 MB, free: 32.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006255, allocations: 0 / 450.4 MB, free: 32.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.006265, allocations: 11.92 kB / 450.4 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.006388, allocations: 14.75 kB / 450.4 MB, free: 32.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.007169, allocations: 1.585 MB / 452 MB, free: 30.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.007212, allocations: 97.09 kB / 452.1 MB, free: 30.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.007241, allocations: 11.98 kB / 452.1 MB, free: 30.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.007283, allocations: 32.48 kB / 452.2 MB, free: 30.46 MB / 330.7 MB Notification: Performance of SimCode: time 6.12e-07/0.007283, allocations: 3.938 kB / 452.2 MB, free: 30.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.02138, allocations: 2.702 MB / 454.9 MB, free: 27.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.69, allocations: 10.16 kB / 454.9 MB, free: 27.87 MB / 330.7 MB " [Timeout remaining time 653] (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/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.538690756075084] Failed to read output from testmodel.py, exit status != 0: 6.768269882537425 6.774865176 6.769477687 Calling exit ...