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.0008689/0.0008689, 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.9108/0.9108, allocations: 177.2 MB / 199.4 MB, free: 5.938 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.001163/0.001163, allocations: 156.5 kB / 256 MB, free: 13.35 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.02156/0.02156, allocations: 6.669 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 2.014e-06/2.014e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.505e-05, allocations: 8.891 kB / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001021/0.001046, allocations: 0.5048 MB / 445.9 MB, free: 37.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000892/0.001938, allocations: 1.127 MB / 447 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.001964, allocations: 0 / 447 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.002212, allocations: 23.86 kB / 447 MB, free: 35.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.002252, allocations: 27.89 kB / 447.1 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.002256, allocations: 0 / 447.1 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.002309, allocations: 23.92 kB / 447.1 MB, free: 35.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.002351, allocations: 3.938 kB / 447.1 MB, free: 35.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.002519, allocations: 27.91 kB / 447.1 MB, free: 35.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.002615, allocations: 23.91 kB / 447.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.002629, allocations: 3.938 kB / 447.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.002639, allocations: 4 kB / 447.2 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.002729, allocations: 67.86 kB / 447.2 MB, free: 35.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.002747, allocations: 11.94 kB / 447.2 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.658e-05/0.002804, allocations: 43.83 kB / 447.3 MB, free: 35.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002806, allocations: 3.938 kB / 447.3 MB, free: 35.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.002807, allocations: 0 / 447.3 MB, free: 35.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.00281, allocations: 7.938 kB / 447.3 MB, free: 35.74 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.0002954/0.003106, allocations: 335 kB / 447.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.003145, allocations: 8.031 kB / 447.6 MB, free: 35.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.497e-05/0.00317, allocations: 106 kB / 447.7 MB, free: 35.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.003202, allocations: 88.17 kB / 447.8 MB, free: 35.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/0.003298, allocations: 233.7 kB / 448 MB, free: 34.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.00331, allocations: 154.9 kB / 448.2 MB, free: 34.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003321, allocations: 150.9 kB / 448.3 MB, free: 34.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.131e-05/0.003352, allocations: 101.5 kB / 448.4 MB, free: 34.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.00336, allocations: 75.47 kB / 448.5 MB, free: 34.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.003378, allocations: 158.7 kB / 448.7 MB, free: 34.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.00339, allocations: 158.5 kB / 448.8 MB, free: 34.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.383e-05/0.003404, allocations: 150.6 kB / 449 MB, free: 33.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.003543, allocations: 453 kB / 449.4 MB, free: 33.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.652e-05/0.00358, allocations: 173.1 kB / 449.6 MB, free: 33.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.172e-05/0.003591, allocations: 80.14 kB / 449.7 MB, free: 33.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.0036, allocations: 75.28 kB / 449.7 MB, free: 33.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.003614, allocations: 109.8 kB / 449.8 MB, free: 33.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.003615, allocations: 0 / 449.8 MB, free: 33.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.8e-05/0.003663, allocations: 45.55 kB / 449.9 MB, free: 32.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.003684, allocations: 130.7 kB / 450 MB, free: 32.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.003814, allocations: 227.9 kB / 450.2 MB, free: 32.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-06/0.003817, allocations: 29.7 kB / 450.3 MB, free: 32.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.003846, allocations: 116.1 kB / 450.4 MB, free: 32.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.003848, allocations: 0 / 450.4 MB, free: 32.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.003861, allocations: 17.7 kB / 450.4 MB, free: 32.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.003893, allocations: 322.8 kB / 450.7 MB, free: 32.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-06/0.003896, allocations: 0 / 450.7 MB, free: 32.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-06/0.003899, allocations: 0 / 450.7 MB, free: 32.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-06/0.003906, allocations: 79.22 kB / 450.8 MB, free: 32.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.003912, allocations: 75.28 kB / 450.9 MB, free: 31.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.981e-05/0.003941, allocations: 41.66 kB / 450.9 MB, free: 31.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.003955, allocations: 83.28 kB / 451 MB, free: 31.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.003962, allocations: 79.28 kB / 451.1 MB, free: 31.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.003981, allocations: 158.4 kB / 451.2 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-06/0.003987, allocations: 83.22 kB / 451.3 MB, free: 31.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.003998, allocations: 166.5 kB / 451.5 MB, free: 31.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.004042, allocations: 75.28 kB / 451.5 MB, free: 31.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.004048, allocations: 79.45 kB / 451.6 MB, free: 31.21 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 5.112e-05/0.004099, allocations: 285.7 kB / 451.9 MB, free: 30.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.004121, allocations: 120.8 kB / 452 MB, free: 30.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.004143, allocations: 133.3 kB / 452.1 MB, free: 30.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.004157, allocations: 196.1 kB / 452.3 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.004171, allocations: 180.3 kB / 452.5 MB, free: 30.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.004183, allocations: 176.3 kB / 452.7 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.538e-05/0.004268, allocations: 408.2 kB / 453.1 MB, free: 29.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.004275, allocations: 105 kB / 453.2 MB, free: 29.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.004293, allocations: 108.9 kB / 453.3 MB, free: 29.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.004306, allocations: 176.3 kB / 453.5 MB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.00432, allocations: 180.3 kB / 453.6 MB, free: 29.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.004333, allocations: 188.1 kB / 453.8 MB, free: 28.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.004345, allocations: 180.2 kB / 454 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.53e-05/0.00439, allocations: 327.7 kB / 454.3 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.00441, allocations: 112.9 kB / 454.4 MB, free: 28.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.00443, allocations: 188.2 kB / 454.6 MB, free: 28.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.004471, allocations: 108.9 kB / 454.7 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.004488, allocations: 180.2 kB / 454.9 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.004495, allocations: 105 kB / 455 MB, free: 27.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.163e-05/0.004567, allocations: 176.1 kB / 455.2 MB, free: 27.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004567, allocations: 0 / 455.2 MB, free: 27.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.004726, 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.0001174/0.004844, allocations: 0.8087 MB / 456 MB, free: 26.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.301e-05/0.004877, allocations: 4 kB / 456 MB, free: 26.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.004878, allocations: 0 / 456 MB, free: 26.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.004879, 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.0001843/0.005063, allocations: 466.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.0008099/0.005873, allocations: 2.051 MB / 458.5 MB, free: 24.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.005918, allocations: 100.8 kB / 458.6 MB, free: 23.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.581e-05/0.005934, allocations: 4 kB / 458.6 MB, free: 23.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.005967, allocations: 28.44 kB / 458.6 MB, free: 23.87 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005968, allocations: 4.031 kB / 458.6 MB, free: 23.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.02198, allocations: 2.495 MB / 461.1 MB, free: 21.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.89, allocations: 12.61 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2_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_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.902816141955554] Failed to read output from testmodel.py, exit status != 0: 6.9699634574353695 6.977419662 6.973195611 Calling exit ...