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.0007574/0.0007574, 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.9015/0.9015, allocations: 177.1 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.001203/0.001203, allocations: 160.3 kB / 256 MB, free: 13.32 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.02241/0.02241, allocations: 6.66 MB / 319 MB, free: 26.76 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 1.563e-06/1.563e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.579e-05, allocations: 2.281 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001438/0.001464, allocations: 1.2 MB / 446.6 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 4.377e-05/0.001508, allocations: 3.984 kB / 446.6 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.001531, allocations: 0 / 446.6 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.00155, allocations: 0 / 446.6 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.001598, allocations: 11.88 kB / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.219e-05/0.00165, allocations: 4 kB / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.00171, allocations: 15.91 kB / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.001759, allocations: 0 / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.001794, allocations: 4 kB / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.00184, allocations: 4 kB / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.001861, allocations: 0 / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.958e-06/0.001865, allocations: 0 / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.001879, allocations: 0 / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.001897, allocations: 3.984 kB / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.354e-05/0.001951, allocations: 15.88 kB / 446.6 MB, free: 36.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.001953, allocations: 4 kB / 446.6 MB, free: 36.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.001954, allocations: 0 / 446.6 MB, free: 36.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.001959, allocations: 4 kB / 446.6 MB, free: 36.36 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.0002662/0.002225, allocations: 242.4 kB / 446.9 MB, free: 36.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.002263, allocations: 8.031 kB / 446.9 MB, free: 36.08 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.043e-05/0.002284, allocations: 30.75 kB / 446.9 MB, free: 36.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.002302, allocations: 0.9375 kB / 446.9 MB, free: 36.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.078e-05/0.002353, allocations: 113.8 kB / 447 MB, free: 35.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.002362, allocations: 384 / 447 MB, free: 35.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.00237, allocations: 384 / 447 MB, free: 35.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.002451, allocations: 52.31 kB / 447.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.002458, allocations: 192 / 447.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.002465, allocations: 4.375 kB / 447.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.002469, allocations: 4.125 kB / 447.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.002485, allocations: 0 / 447.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.002746, allocations: 161.6 kB / 447.2 MB, free: 35.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.002788, allocations: 51.86 kB / 447.3 MB, free: 35.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.002804, allocations: 9.719 kB / 447.3 MB, free: 35.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.002814, allocations: 4.062 kB / 447.3 MB, free: 35.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.125e-05/0.002825, allocations: 30.56 kB / 447.3 MB, free: 35.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.002826, allocations: 3.984 kB / 447.3 MB, free: 35.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001152/0.002941, allocations: 49.62 kB / 447.4 MB, free: 35.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.002966, allocations: 81.05 kB / 447.5 MB, free: 35.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.159e-05/0.003008, allocations: 97.86 kB / 447.6 MB, free: 35.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.003014, allocations: 26.08 kB / 447.6 MB, free: 35.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.274e-05/0.003027, allocations: 84.14 kB / 447.7 MB, free: 35.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.003051, allocations: 11.88 kB / 447.7 MB, free: 35.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.003074, allocations: 17.72 kB / 447.7 MB, free: 35.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.434e-05/0.003098, allocations: 310.8 kB / 448 MB, free: 34.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.003107, allocations: 4 kB / 448 MB, free: 34.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-06/0.003117, allocations: 13.72 kB / 448 MB, free: 34.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.003138, allocations: 17.72 kB / 448 MB, free: 34.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00314, allocations: 0 / 448 MB, free: 34.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.371e-05/0.003174, allocations: 49.69 kB / 448.1 MB, free: 34.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.003187, allocations: 11.94 kB / 448.1 MB, free: 34.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.003191, allocations: 0 / 448.1 MB, free: 34.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.003203, allocations: 0 / 448.1 MB, free: 34.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.003296, allocations: 27.92 kB / 448.1 MB, free: 34.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006187/0.003915, allocations: 2.516 MB / 450.6 MB, free: 31.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.003928, allocations: 7.984 kB / 450.7 MB, free: 31.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.003934, allocations: 4.031 kB / 450.7 MB, free: 31.89 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.994e-05/0.003974, allocations: 113.7 kB / 450.8 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-06/0.003979, allocations: 4 kB / 450.8 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-06/0.003986, allocations: 7.406 kB / 450.8 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.003987, allocations: 3.938 kB / 450.8 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-07/0.003987, allocations: 0 / 450.8 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.003989, allocations: 0 / 450.8 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.004113, allocations: 160.7 kB / 450.9 MB, free: 31.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.004114, allocations: 0 / 450.9 MB, free: 31.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.004174, allocations: 27.98 kB / 451 MB, free: 31.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004175, allocations: 0 / 451 MB, free: 31.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.004181, allocations: 4 kB / 451 MB, free: 31.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004237/0.004605, allocations: 2.52 MB / 453.5 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.004606, allocations: 4.031 kB / 453.5 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.257e-05/0.004639, allocations: 62 kB / 453.6 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-06/0.004644, allocations: 7.984 kB / 453.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-06/0.004646, allocations: 0 / 453.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.004655, allocations: 3.938 kB / 453.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.00467, allocations: 7.938 kB / 453.6 MB, free: 28.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.004672, allocations: 4 kB / 453.6 MB, free: 28.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.283e-05/0.004685, allocations: 79.41 kB / 453.7 MB, free: 28.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004685, allocations: 4 kB / 453.7 MB, free: 28.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000131/0.004816, allocations: 0 / 453.7 MB, free: 28.58 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.0001393/0.004956, allocations: 0.5938 MB / 454.3 MB, free: 27.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.005218, allocations: 47.98 kB / 454.3 MB, free: 27.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00522, allocations: 4.062 kB / 454.3 MB, free: 27.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.005337, allocations: 31.97 kB / 454.3 MB, free: 27.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.005456, allocations: 6.812 kB / 454.3 MB, free: 27.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.005775, allocations: 139.3 kB / 454.5 MB, free: 27.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.482e-05/0.0058, allocations: 71.41 kB / 454.6 MB, free: 27.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.005851, allocations: 19.98 kB / 454.6 MB, free: 27.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.005904, allocations: 24.47 kB / 454.6 MB, free: 27.56 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005905, allocations: 0 / 454.6 MB, free: 27.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.01901, allocations: 2.405 MB / 457 MB, free: 25.28 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/6.732, allocations: 13.14 kB / 457 MB, free: 25.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_Attributes_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.569697729311883] Failed to read output from testmodel.py, exit status != 0: 6.81246727053076 6.819377948 6.816069178 Calling exit ...