Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.000916/0.000916, 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.9221/0.9221, allocations: 177.1 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.00114/0.00114, 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.02173/0.02173, allocations: 6.659 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.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.688e-05, allocations: 2.281 kB / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002102/0.002129, allocations: 1.199 MB / 446.6 MB, free: 36.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 4.35e-05/0.002172, allocations: 11.97 kB / 446.6 MB, free: 36.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.002203, allocations: 0 / 446.6 MB, free: 36.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.002222, allocations: 0 / 446.6 MB, free: 36.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.002267, allocations: 7.875 kB / 446.6 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.562e-05/0.002322, allocations: 4 kB / 446.6 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.002388, allocations: 11.94 kB / 446.6 MB, free: 36.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.002447, allocations: 3.984 kB / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.002486, allocations: 4 kB / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.002536, allocations: 0 / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.002559, allocations: 0 / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.002564, allocations: 4 kB / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.002577, allocations: 7.938 kB / 446.6 MB, free: 36.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.002598, allocations: 3.984 kB / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.142e-05/0.002659, allocations: 11.92 kB / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.002663, allocations: 0 / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.002664, allocations: 0 / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.002669, allocations: 0 / 446.6 MB, free: 36.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002882/0.002957, allocations: 246.4 kB / 446.9 MB, free: 36.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.003007, allocations: 12.03 kB / 446.9 MB, free: 36.1 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.591e-05/0.003033, allocations: 30.75 kB / 446.9 MB, free: 36.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.055e-05/0.003053, allocations: 4.938 kB / 446.9 MB, free: 36.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.003121, allocations: 105.8 kB / 447 MB, free: 35.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.003134, allocations: 4.375 kB / 447 MB, free: 35.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.003141, allocations: 384 / 447 MB, free: 35.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.788e-05/0.003229, allocations: 52.31 kB / 447.1 MB, free: 35.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.003237, allocations: 192 / 447.1 MB, free: 35.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.003245, allocations: 384 / 447.1 MB, free: 35.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.00325, allocations: 4.125 kB / 447.1 MB, free: 35.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.003268, allocations: 4 kB / 447.1 MB, free: 35.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.003617, allocations: 161.6 kB / 447.3 MB, free: 35.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.137e-05/0.003668, allocations: 43.8 kB / 447.3 MB, free: 35.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.00369, allocations: 17.84 kB / 447.3 MB, free: 35.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.003701, allocations: 0 / 447.3 MB, free: 35.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.003716, allocations: 34.56 kB / 447.4 MB, free: 35.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.003717, allocations: 0 / 447.4 MB, free: 35.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.003852, allocations: 49.84 kB / 447.4 MB, free: 35.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.003878, allocations: 85.05 kB / 447.5 MB, free: 35.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.249e-05/0.003921, allocations: 89.86 kB / 447.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.003928, allocations: 29.7 kB / 447.6 MB, free: 35.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.052e-05/0.003939, allocations: 84.14 kB / 447.7 MB, free: 35.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.003961, allocations: 3.953 kB / 447.7 MB, free: 35.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.00399, allocations: 21.64 kB / 447.7 MB, free: 35.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.004024, allocations: 310.8 kB / 448 MB, free: 34.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.004037, allocations: 4 kB / 448 MB, free: 34.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.004053, allocations: 13.88 kB / 448 MB, free: 34.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.917e-05/0.004082, allocations: 25.78 kB / 448.1 MB, free: 34.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004084, allocations: 0 / 448.1 MB, free: 34.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.548e-05/0.00414, allocations: 41.62 kB / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.004154, allocations: 10.59 kB / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.004159, allocations: 0 / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.004173, allocations: 4 kB / 448.1 MB, free: 34.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.004318, allocations: 31.98 kB / 448.1 MB, free: 34.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008121/0.00513, allocations: 2.52 MB / 450.7 MB, free: 31.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.005142, allocations: 4.25 kB / 450.7 MB, free: 31.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005147, allocations: 4 kB / 450.7 MB, free: 31.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.005186, allocations: 121.8 kB / 450.8 MB, free: 31.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-06/0.00519, allocations: 0 / 450.8 MB, free: 31.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-06/0.005196, allocations: 3.156 kB / 450.8 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005198, allocations: 7.938 kB / 450.8 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.71e-07/0.005198, allocations: 0 / 450.8 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005201, allocations: 0 / 450.8 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.005331, allocations: 156.7 kB / 451 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.005333, allocations: 4 kB / 451 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.005395, allocations: 23.98 kB / 451 MB, free: 31.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005396, allocations: 0 / 451 MB, free: 31.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.005402, allocations: 0 / 451 MB, free: 31.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000447/0.005849, allocations: 2.524 MB / 453.5 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.00585, allocations: 0 / 453.5 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.221e-05/0.005882, allocations: 66.03 kB / 453.6 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-06/0.005886, allocations: 0 / 453.6 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-06/0.005889, allocations: 8.266 kB / 453.6 MB, free: 28.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.005899, allocations: 7.938 kB / 453.6 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.005913, allocations: 3.938 kB / 453.6 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.005916, allocations: 4 kB / 453.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.005929, allocations: 75.28 kB / 453.7 MB, free: 28.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005929, allocations: 0 / 453.7 MB, free: 28.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.006066, allocations: 8 kB / 453.7 MB, free: 28.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.00619, allocations: 0.5938 MB / 454.3 MB, free: 27.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.006456, allocations: 51.92 kB / 454.3 MB, free: 27.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006457, allocations: 0 / 454.3 MB, free: 27.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.00658, allocations: 31.95 kB / 454.3 MB, free: 27.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.006697, allocations: 4.25 kB / 454.4 MB, free: 27.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.007068, allocations: 146.6 kB / 454.5 MB, free: 27.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.0071, allocations: 67.28 kB / 454.6 MB, free: 27.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.007157, allocations: 19.98 kB / 454.6 MB, free: 27.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.007215, allocations: 24.47 kB / 454.6 MB, free: 27.58 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007216, allocations: 4 kB / 454.6 MB, free: 27.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.02363, allocations: 2.4 MB / 457 MB, free: 25.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/6.944, allocations: 9.484 kB / 457 MB, free: 25.29 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.Attributes_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_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.948164549656212] Failed to read output from testmodel.py, exit status != 0: 7.029341971501708 7.035189197 7.031226457 Calling exit ...