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.0009092/0.0009092, 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.8969/0.8969, allocations: 177.1 MB / 199.4 MB, free: 5.953 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.00101/0.00101, allocations: 156.5 kB / 256 MB, free: 13.36 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.02223/0.02223, allocations: 6.657 MB / 319 MB, free: 26.78 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.763e-06/1.763e-06, allocations: 0 / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.345e-05, allocations: 2.281 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.00124/0.001263, allocations: 0.5126 MB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002305, allocations: 1.162 MB / 447.1 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.002347, allocations: 0 / 447.1 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.002539, allocations: 11.92 kB / 447.1 MB, free: 35.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.002648, allocations: 19.86 kB / 447.1 MB, free: 35.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.541e-05/0.002713, allocations: 15.92 kB / 447.1 MB, free: 35.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.002784, allocations: 31.91 kB / 447.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.002836, allocations: 3.984 kB / 447.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.003022, allocations: 39.84 kB / 447.2 MB, free: 35.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.00314, allocations: 35.89 kB / 447.2 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.003159, allocations: 4 kB / 447.2 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.003169, allocations: 0 / 447.2 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.003241, allocations: 43.83 kB / 447.3 MB, free: 35.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.00327, allocations: 15.88 kB / 447.3 MB, free: 35.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.223e-05/0.003352, allocations: 47.75 kB / 447.3 MB, free: 35.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.003355, allocations: 4 kB / 447.3 MB, free: 35.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.003357, allocations: 0 / 447.3 MB, free: 35.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.003362, allocations: 4 kB / 447.3 MB, free: 35.69 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.0004063/0.003768, allocations: 325.9 kB / 447.6 MB, free: 35.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.003806, allocations: 8.031 kB / 447.7 MB, free: 35.33 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.263e-05/0.003829, allocations: 34.75 kB / 447.7 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.003856, allocations: 12.84 kB / 447.7 MB, free: 35.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.003975, allocations: 161.5 kB / 447.9 MB, free: 35.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.003986, allocations: 4.375 kB / 447.9 MB, free: 35.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.003994, allocations: 4.375 kB / 447.9 MB, free: 35.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.971e-05/0.004064, allocations: 38.19 kB / 447.9 MB, free: 35.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.004071, allocations: 4.188 kB / 447.9 MB, free: 35.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.004079, allocations: 4.125 kB / 447.9 MB, free: 35.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.004083, allocations: 0 / 447.9 MB, free: 35.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.004109, allocations: 15.98 kB / 447.9 MB, free: 35.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.004232, allocations: 164.7 kB / 448.1 MB, free: 34.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.004283, allocations: 26.58 kB / 448.1 MB, free: 34.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.004302, allocations: 12.94 kB / 448.1 MB, free: 34.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.004322, allocations: 0 / 448.1 MB, free: 34.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.004336, allocations: 38.5 kB / 448.2 MB, free: 34.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.004337, allocations: 0 / 448.2 MB, free: 34.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001374/0.004475, allocations: 77.55 kB / 448.2 MB, free: 34.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.004496, allocations: 51.41 kB / 448.3 MB, free: 34.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.004611, allocations: 214.9 kB / 448.5 MB, free: 34.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.004617, allocations: 25.7 kB / 448.5 MB, free: 34.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.004646, allocations: 108.1 kB / 448.6 MB, free: 34.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.004671, allocations: 7.953 kB / 448.6 MB, free: 34.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.004693, allocations: 13.72 kB / 448.7 MB, free: 34.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.304e-05/0.004726, allocations: 322.8 kB / 449 MB, free: 33.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.004739, allocations: 8 kB / 449 MB, free: 33.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/0.004748, allocations: 7.984 kB / 449 MB, free: 33.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.894e-05/0.004777, allocations: 28.78 kB / 449 MB, free: 33.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004779, allocations: 4 kB / 449 MB, free: 33.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.247e-05/0.004822, allocations: 57.59 kB / 449.1 MB, free: 33.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.004833, allocations: 4 kB / 449.1 MB, free: 33.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.004836, allocations: 3.938 kB / 449.1 MB, free: 33.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.004849, allocations: 7.938 kB / 449.1 MB, free: 33.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.004919, allocations: 4 kB / 449.1 MB, free: 33.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.004924, allocations: 0 / 449.1 MB, free: 33.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.004949, allocations: 7.922 kB / 449.1 MB, free: 33.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.004954, 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 4.437e-05/0.004999, allocations: 129.8 kB / 449.2 MB, free: 33.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.005007, allocations: 11.91 kB / 449.2 MB, free: 33.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.712e-05/0.005094, allocations: 66.7 kB / 449.3 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.005096, allocations: 7.938 kB / 449.3 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.005101, allocations: 0 / 449.3 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.005103, allocations: 0 / 449.3 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.226e-05/0.005156, allocations: 152.7 kB / 449.5 MB, free: 33.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005156, allocations: 3.984 kB / 449.5 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.005173, allocations: 4 kB / 449.5 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005174, allocations: 4 kB / 449.5 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.00518, allocations: 0 / 449.5 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005182, allocations: 7.938 kB / 449.5 MB, free: 33.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.005183, allocations: 3.984 kB / 449.5 MB, free: 33.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.841e-05/0.005231, allocations: 81.39 kB / 449.6 MB, free: 33.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.005249, allocations: 19.83 kB / 449.6 MB, free: 33.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.00526, allocations: 4 kB / 449.6 MB, free: 33.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.00528, allocations: 11.92 kB / 449.6 MB, free: 33.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.005292, allocations: 4.047 kB / 449.6 MB, free: 33.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.005295, allocations: 3.984 kB / 449.6 MB, free: 33.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.005364, allocations: 160.3 kB / 449.8 MB, free: 32.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005364, allocations: 0 / 449.8 MB, free: 32.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.005479, allocations: 4 kB / 449.8 MB, free: 32.97 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.0001389/0.005618, allocations: 0.6202 MB / 450.4 MB, free: 32.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.327e-05/0.005681, allocations: 19.98 kB / 450.4 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005683, allocations: 0 / 450.4 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.225e-06/0.005691, allocations: 4 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.0001119/0.005803, allocations: 18.73 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.000824/0.006627, allocations: 1.588 MB / 452 MB, free: 30.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.006667, allocations: 89.09 kB / 452.1 MB, free: 30.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.14e-05/0.006698, allocations: 19.98 kB / 452.1 MB, free: 30.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.006739, allocations: 32.48 kB / 452.2 MB, free: 30.45 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.00674, allocations: 0 / 452.2 MB, free: 30.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.02166, allocations: 2.709 MB / 454.9 MB, free: 27.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/6.829, allocations: 10.09 kB / 454.9 MB, free: 27.86 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.882126261480153] Failed to read output from testmodel.py, exit status != 0: 6.913606959395111 6.926266265 6.920051321 Calling exit ...